System Information & OS Details
• systeminfo → Displays detailed system information.
• ver → Shows the Windows OS version.
Date & Time Commands
• date → Shows or sets the current date.
• date /t → Displays the current date without prompting for a change.
• time → Shows or sets the current time.
• time /t → Displays the current time without prompting for a change.
Navigating Drives & Directories
• drivename: → Switches to the specified drive (e.g., C: or D:).
• dir → Lists the files and directories in the current location.
• cd foldername → Moves into the specified folder.
• cd.. → Moves back to the previous directory.
Creating & Managing Directories
• mkdir foldername → Creates a new folder.
• cd foldername → Moves into the specified folder.
• rmdir foldername /s /q → Deletes a folder and all its contents (use /s for
subdirectories and /q to suppress confirmation).
Creating, Viewing & Managing Files
• type nul > filename → Creates an empty file.
• notepad filename → Opens a file in Notepad for editing.
• type filename → Displays the content of a file.
• ren oldfilename newfilename → Renames a file.
• copy firstfilename secondfilename → Copies the content of one file to another.
• move filename foldername → Moves a file to a specific folder.
• del filename → Deletes a specific file.
Deleting Files & Folders
• del foldername\*.* /q → Deletes all files inside a folder but not the folder itself.
• rmdir foldername /s /q → Deletes the folder and all its contents permanently.
Miscellaneous
• cls → Clears the screen.