X: Windows System32 cmd.exe I feel pretty stupid at this point, but I am not able to get a list of commands for my command prompt while running it from a WIN-PE boot disk. I know cmd.exe probably does not have the full compliment of commands that WIN7 cmd.exe does, but at the minimum the help command should be universal.
Generally the tech world sees Windows command line less powerful than what Linux’s command line can do. However, there are still lots of things one can do with the native available Windows commands, as this website shows all such tricks with examples. With the addition of PowerShell, I don’t think there is any limit for automating user or administration tasks.
This website is for all those people that love to use CMD commands and want to know more ways of automating administrator/user tasks. You can use the below list to know more about your favorite command. You can as well use search feature on the website to look for a specific command or a problem you are trying to solve.
CMD commands list
Microsoft published exhaustive list of Windows commands, which serves as online manual for each of the commands. This website adds on to that with illustration of real use cases and lists solutions using Windows commands & batch files. Refer the below index and follow the links for detailed syntax and examples.
At | This Windows command helps to schedule tasks at specified time or recurring schedule. |
Attrib | Set file attributes |
Bootcfg | Enable kernel debugging |
copy | Copy files |
Compact | Compress or decompress files and directories |
Echo | Echo the command/contents of a file |
Date | Set system date and time |
Del | ‘Del’ command is used to delete files from CMD. |
Dir | ‘Dir’ command is used to list files and directories from CMD. |
Eventquery.vbs | View all events on Windows computer. |
find | Search files for a given string |
findstr | Search files for a given string; Has advanced options than find command. |
for | Windows batch command for looping over a list of items and performing repeated actions. |
getmac | ‘Getmac’ command is used to find physical MAC address of the network cards installed on the computer. |
hostname | Get name of your Windows computer. |
logoff | Logoff user session |
Mkdir | Create directories |
More | This windows command helps to print contents of a file on command windows, one page at a time. Provides same functionality as ‘Linux’ more command. |
Net user | ‘Net user’ command is used to manage user accounts like creating/deleting/locking/unlocking user accounts. |
Net use | Create/List/Delete network drives |
Net localgroup | Manage local computer’s user groups from CMD. |
Net share | Create / List/ Delete shares on the local computer |
Reg | Edit/create/delete registry keys from command prompt. |
Rename | Windows ‘Rename’ command is used to rename files and directories. This command can be referred/used as ‘ren’ too. Rename filesRename directories |
Rmdir | “Rmdir’ command is used to delete directories from CMD. |
Robocopy | Copy large number of files/folders from command prompt |
Runas | Run an application as a different user in the same session |
Schtasks | Schedule tasks |
Shutdown | As the name says, this Widnows command is used to shutdown a computer from CMD. |
Shutdown | Shutdown remote computer |
Sort: | Command for sorting text files |
Systeminfo | Command to get all system hardware/software information on command line |
Tasklist | List processes on command windows |
Taskkill | Kill processes from command prompt |
Type | Cat command for Windows. Prints the contents of file on command window |
Xcopy | Copy files and directories |
Resource Kit Tools
Compress | Compress a file from CMD |
Srvinfo | Get remote system information |
tail | Print the last lines of a file on command window |
Ver | Get Windows OS version |
Other tools
PsShutdown.exe | Shutdown remote computer |