Hey guys need some cool command prompt tricks ?
Here I pick some most useful cmd tricks for you which you can run on your windows PC and have fun.
Their is many hidden secrets and cmd commands on windows PC let’s discover all and enjoy live experience with them.
All different different types of cmd hacks 2018 collection is here for you.
Lets turn on your windows PC now start command prompt and try these cmd commands directly on your PC.
Best command prompt tricks is here for you.
No computer knowledge or any experience needed for these commands to run.
Just  type it and run it.
Lets start commanding.
Here we go
 best cmd tricks 2017

Best cmd tricks 2018 collection



1. information help ( /? )


/? Let’s you know about the use of command, for e.g. to know what ‘shutdown’ does, simply type-


Shutdown /?  

It will show the list of all the switches that could be done with ‘shutdown’ command to do different functions.


2. ipconfig


This command traces out system’s IP address details, also it gives information about the gateway and Router’s pre-specified web interface. The syntax is –

ipconfig /all command


3. shutdown


Use this to shut-down or restart pc with a single line of command.

  • shutdown /r /o: To start the system into various advanced options.

  • shutdown /s /t 0: To perform a regular shut down.

  • shutdown /r/t 0: To Restart the system.

4.sfc /scannow

This command scans the overall system and finds corrupt file. It also replaces them if necessary.

sfc /scannow

5. tasklist:

It gives the list of running tasks on the system. Use –m for DLL modules and –svc to show the services that support each listed in prompt.

  • tasklist

  • tasklist –

  • tasklist –svc

6. taskkill:

It terminates the task you don’t want to run. The syntax of this command includes ‘taskkill’ followed by –pid or –im, and the task to be terminated.

  • taskkill –pid 4104

  • taskkill –im iexplore.exe


This command can be used to directly copy files between the drives. The command-line to copy videos from drive C to the drive F will look like:

XCOPY c:\videos f:\photos /s /e 


8. CD:

This is a basic command but very useful to instantly access directories of your choices. To quickly access C drive, the command line will be –

cd c:\

9. DIR:

This commands lists the content of a directory. The syntax is –



10. Tree:

This command represents the contents of a directory/ sub directory in a tree format. The syntax for the C drive will be –

tree c:/


11. net share:

This command stops windows from sharing specific folders, after connecting to a network. To execute it, first type net share in CMD to view all the shared folders and then run the following command to disable the shares –

  • net share C$ /delete

  • net share IPC$ /delete

  • net share ADMIN$ /delete


  1. ipconfig /flushdns:

    When the DNS settings are changed, they don’t take place immediately and take some time for a complete setup. Meanwhile, if you try to visit a particular site (changed DNS server settings for), the windows uses the ‘cache’, where previous responses are retained. The syntax is –



13. powercfg:

Use this command to keep track on system’s power consumption resources. Hibernation can be managed by following syntax –

  • powercfg /hibernate o

  • powercfg /hibernate of


This command is used to move files to desired locations.–

move <filename> <destination folder>


15. netstat –an:

This command lists all the network connections along with the details of the port they are operating with.

netstat –an  

16. ping:

It can be run to know if any data packets weren’t received by the server or it it’s saturated.

ping howto-connect.com


howto-connect.com – server name


17. telnet –n

It helps to connect to the Telnet servers, if it’s installed. If not then it can be done by going to control panel.


18. cipher –

Using this command, you can manage encryption, write data or delet

  1. Directory.  

cipher /w:D:\  

If you want to wipe out the D drive.

19. nslookup:

Use this command to find the IP address of your desired server.

nslookup howto-connect.com

‘howto-connect.com’ – server name.


Use this command to know whether the file is digitally signed or not.



21. driverquery:


Use this command to know additional information about the drivers.

driverquery -v  

To know the detail for each driver.


22. assoc:

Use this command to know your file extensions. It can also be used to change file formats like-

assoc .txt=.pdf  

The above command is to change text to pdf.

23.netsh interface:

Use this command to know whether your system is connected to Wi-Fi or not.

netsh interface show interface | findstr /C: ”Wireless” /C: ”Name”  


Use this command to know how each packet interacts while moving to destination.

tracert howto-connect.com

‘howto-connect.com’ – server name


25. recimg.exe

Use this command to design a custom recovery image for Windows 10.
so guys these are the best command tricks 2018 collection for you.
I hope you like it.
All the best and top. Cmd hacks I added in this list.
I hope you enjoying these cmd tricks 2017 in your windows pc.
their is many tasks and hidden features of windows which only can seen and executed by command prompt commands.
Now you have best command prompt commands.
Lets run it and execute it.
if you like these commands don’t forget to leave your valuable comment here.
If you want any different customized command trick or you know much more interesting cmd hacks let me know view comments.
Thank you

About shyami

i am shyami goyal. i love to write on latest technology and how to guides
my english is like kapil sharma so plese forgive me. i know its impossible but try your best forget the rest.

View All Posts