Top 50 Windows Commands You should know “Right NOW”
Windows Commands CheetSheet
dir: This command is used to display a list of files and directories in a directory. You can use various options with this command to customize the output, such as /p to pause after each screen of information, /w to display the list in wide format, and /o to sort the list by various criteria.
cd: This command is used to change the current working directory. Simply type cd followed by the path of the directory you want to switch to. You can also use the .. notation to move up one level in the directory hierarchy.
copy: This command is used to copy files from one location to another. You can use various options with this command, such as /v to verify that the copy was successful, /y to overwrite existing files without prompting, and /z to copy files in restartable mode.
xcopy: This command is similar to copy, but it has additional options for copying directories and subdirectories. You can use the /s option to copy subdirectories and the /e option to include empty directories.
del: This command is used to delete files. You can use various options with this command, such as /p to prompt before deleting each file and /f to force deletion of read-only files.
rmdir: This command is used to delete directories. You can use various options with this command, such as /s to delete subdirectories and files and /q to delete directories silently without prompting.
type: This command is used to display the contents of a text file. You can use various options with this command, such as /p to pause after each screen of information and /w to display the file in wide format.
find: This command is used to search for a string of text within a file or group of files. You can use various options with this command, such as /i to perform a case-insensitive search and /c to display the number of occurrences of the search string.
sort: This command is used to sort the lines of a text file. You can use various options with this command, such as /r to sort in reverse order and /o to specify the output file.
xcmd: This command is used to execute a command or program within a script. You can use various options with this command, such as /c to specify the command to be executed and /q to run the command quietly without displaying any output.