Thursday, February 14, 2013

Clearing the CMD screen

To clear the CMD Screen:
  1. Command: cls
 
 

See or Change the date from CMD

To See or change the date:
  1. Command: date
 

See or change the time from CMD

To see or change the time:
  1. Command: time
 
 

Remove a folder from CMD

To remove a folder or directory:
  1. Command: del [directory name]
  2. If you want to remove a directory named tuiFaltu then the command will be: del tuiFaltu


Remove a file from CMD

To remove a file:
  1. Command: del [file name]
  2. If you want to delete the file named you.txt then the command will be: del you.txt 
 
 

See all the files in a directory from CMD

To see all the files in a directory or folder:
  1. Command: dir 
 

 

Move a file From CMD

To Move a file:
  1. Command: move [file name] [new file location]
  2. If our old file location is E:\faltu and we want to change the file location you.txt to the location E: then the command will be: move you.txt E: