Below is the list of commands that can be run from windows command prompt (CMD). You can follow the link given for a command to see the syntax and examples.
| At: | Schedule tasks |
| Attrib: | Set file attributes from command prompt |
| Bootcfg: | Enable kernel debugging from command prompt |
| copy: | Copy files from command prompt |
| Cls: | Clear command window screen |
| Compact: | Compress or decompress files and directories |
| Convert: | Convert FAT filesystem to NTFS |
| Date: | Set system date and time from command prompt |
| defrag: | Defrag disk drives |
| Del: | Delete files from command line |
| Dir: | List files and directories |
| Eventquery.vbs: | View events from command line |
| find: | Search files for a given string |
| findstr: | Search files for a given string; Has adavnced options than find command. |
| for: | Windows batch command for looping |
| getmac: | Find mac address of the system |
| hostname: | Get system name from command prompt |
| ipconfig: | Get IP address |
| logoff: | Logoff user session from command prompt |
| Net user: | Manage user accounts from command line |
| Net use: | Create/List/Delete network drives |
| Net localgroup: | Manage local computer’s user groups |
| Net share: | Create / List/ Delete shares on the local computer |
| Powercfg: | Manage power scheme on your laptop |
| Reg: | Edit/create/delete registry keys from command line |
| Rename: | Rename files/directories |
| Runas: | Run an application as a different user in the same session |
| Schtasks: | Schedule tasks |
| Shutdown: | Shutdown or reboot system |
| Sort: | Command for sorting text files |
| Systeminfo: | Get computer information in command line |
| Taskkill: | Kill processes from command prompt |
| time: | Set system time |
| Title: | Set command window title |
| Xcopy: | Copy files and directories from command prompt |
Resource Kit Tools:
| Compress | Compress a file from command prompt |
| Srvinfo | Get remote system information |
| tail | Print the last lines of a file |
| Ver | Get Windows OS version |
Other tools:
| PsShutdown.exe | Shutdown remote computer from command prompt |
Additional Reading...
- List mapped drives from command line
- Launch Disk Management tool from command prompt
- Run command for system information
- Launch Automatic updates window command line
- Start Stop Disable Postgresql service
- Windows at command examples
- Tips for changing directories in windows command line
- Get IP address using command line
- Windows : logoff from command line
- Net command
{ 3 comments… read them below or add one }
How to open command prompt when there is no Run box in the start menu
if you are using windows vista/7, then just type cmd.exe in search bar. If you are still in XP/2003, then navigate to c:\windows\system32\ folder and look for cmd.exe there.
Nice work. Very useful for Network admins and security experts. Thanks