- 1. information help ( /? )
- 2. ipconfig
- 3. shutdown
- 4.sfc /scannow
- 5. tasklist:
- 6. taskkill:
- 8. CD:
- 9. DIR:
- 10. Tree:
- 11. net share:
- 12.deleteipconfig /flushdns:
- 13. powercfg:
- 15. netstat –an:
- 16. ping:
- 17. telnet –n
- 18. cipher –
- 19. nslookup:
- 21. driverquery:
- 22. assoc:
- 23.netsh interface:
- 25. recimg.exe
1. information help ( /? )
/? Let’s you know about the use of command, for e.g. to know what ‘shutdown’ does, simply type-
It will show the list of all the switches that could be done with ‘shutdown’ command to do different functions.
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
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.
This command scans the overall system and finds corrupt file. It also replaces them if necessary.
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.
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
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 –
This commands lists the content of a directory. The syntax is –
This command represents the contents of a directory/ sub directory in a tree format. The syntax for the C drive will be –
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$ /
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 –
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.–
15. netstat –an:
This command lists all the network connections along with the details of the port they are operating with.
It can be run to know if any data packets weren’t received by the server or it it’s saturated.
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
If you want to wipe out the D drive.
Use this command to find the IP address of your desired server.
‘howto-connect.com’ – server name.
Use this command to know whether the file is digitally signed or not.
Use this command to know additional information about the drivers.
To know the detail for each driver.
Use this command to know your file extensions. It can also be used to change file formats like-
The above command is to change text to pdf.
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.
‘howto-connect.com’ – server name