Topics


Pages


Content

Open and close

  • Opening CMD: Open “Command Prompt” from apps. Or Press the Windows key + R, type `cmd` and press Enter.
  • Closing CMD: Type exit and press Enter to close the command prompt.

      exit
    

Common commands

  • Changing directory:

      cd C:\Users\Username\Documents
    
  • Listing files and folders:
      dir
    
  • Creating a directory:

      mkdir NewFolder
    
  • Deleting a file or folder:
      del example.txt
      rmdir FolderToDelete
    
  • Copying a file:
      copy C:\Users\Username\Documents\example.txt C:\Users\Username\Desktop
    
  • Renaming a file:
      ren example.txt newname.txt
    
  • Finding system information such as the operating system version, installed RAM, and processor type.

      systeminfo