Skip to main content

Basic CMD Commands

 CMD commands:-

cd\ --> redirects to the parent drive

cd path --> redirect to the given path, to redirect to a path you have to first go to the parent drive.

cd.. -> it take out you from the current folder.

d: -> to change the drive, drive name :

cd d: -> tells the open folder in the given drive.

cd /d  c:\windows --> to go directly from the given drive to another drive path.

dir -> to check the content of the drive cmd

mkdir -> to create a folder in a current directory, give mkdir folder name.

type filename -> to make the file, provide extension also.

ping --> to know the speed of a website.

systeminfo -->tell all the info of the system

color 02--> to change color of text in green and background in black.

attrib +h +s +r filename --> hide the file

attrib -h -s -r file name  --> unhide the file

ipconfig /displaydns--> to check the incognito history.

ipconfig /flushdns --> to delete incongnito history.

doskey /history --> shows the cmd command history.

driverquery --> shows all install drivers in your system.

ipconfig | clip --> to copy the details in cmd in clipboard.

netsh wlan show profile --> tells the connected device.

netsh wlan show profile "wifi name" key=clear  --> tells the detail with password and password will show in key content.




Comments