Command Prompt | CMD Commands | Important for Programmer

Prajwal Mandlik

 


✔ CMD COMMANDS : Command Prompt


  • Create New Folder

 mkdir - Make directory and create new folder in the working directory

mkdir [ folderName ]

  • Change Directory
cd - Change the directory lets you can change the access of directory


cd [ folderName ]

  • Create New File 
type nul > - To create the new file

type nul > [ fileName ]

  • List Files 
dir : list the files and folders in the working directory

dir

  • Rename 
ren : To rename files and folders 

ren [ folder ] [ newFolderName ]


  • Copy Files 
copy : Copies the file ( file.txt ) to the destination ( copyfile.txt )

copy [ file ] [ destination ]

  • Delete files 
del : Delete files and files in a folder

del [ file ]


  •  Up One Directory 
cd.. : Change directory to go one folder up

cd..

  • Change Drive 
d: To change drive and access another drive just use drive name and colon

d:

Tags