dir |
Lists files and directories in the current directory. |
dir [options] [directory] |
cd |
Changes the current directory. |
cd [directory] |
md/mkdir
|
Creates a new directory. |
md [directory] |
rd/rmdir
|
Removes an empty directory. |
rd [directory] |
del |
Deletes files. |
del [file] |
copy |
Copies files from one location to another. |
copy [source] [destination] |
move |
Moves files from one location to another. |
move [source] [destination] |
ren/rename
|
Renames a file or directory. |
ren [old_name] [new_name] |
type |
Displays the contents of a file. |
type [file] |
cls |
Clears the Command Prompt screen. |
cls |
echo |
Displays a message or turns command echoing on or off. |
echo [message] |
attrib |
Displays or changes file attributes. |
attrib [options] [file] |
chkdsk |
Checks a disk and displays a status report. |
chkdsk [options] [drive:] |
tasklist |
Displays a list of currently running processes. |
tasklist |
taskkill |
Terminates a running process. |
taskkill [options] |
ipconfig |
Displays network configuration information. |
ipconfig [options] |
ping |
Tests network connectivity. |
ping [host] |
hostname |
Displays the computer's hostname. |
hostname |
netstat |
Displays network connections, routing tables, and interface statistics. |
netstat [options] |
nslookup |
Queries the DNS to obtain domain name or IP address mapping. |
nslookup [hostname] |
tracert |
Traces the route to a network host. |
tracert [host] |
netsh |
Configures network interfaces, firewall settings, and more. |
netsh [command] |
format |
Formats a disk for use with Windows. |
format [options] [drive:] |
shutdown |
Shuts down or restarts the computer. |
shutdown [options] |
regedit |
Opens the Windows Registry Editor. |
regedit |
msconfig |
Opens the System Configuration utility. |
msconfig |
sfc |
Scans and repairs system files. |
sfc [options] |
diskpart |
Manages disk partitions. |
diskpart |
wmic |
Displays WMI information inside an interactive command shell. |
wmic [alias] [command] |
systeminfo |
Displays detailed system information. |
systeminfo |
gpupdate |
Updates Group Policy settings. |
gpupdate [options] |
gpresult |
Displays Group Policy settings and resultant set of policy (RSoP) for a user or computer. |
gpresult [options] |
bcdedit |
Manages Boot Configuration Data. |
bcdedit [options] |
cipher |
Displays or alters the encryption of directories [files] on NTFS partitions. |
cipher [options] [directory] |
powercfg |
Manages power settings. |
powercfg [options] |
driverquery |
Displays a list of all installed device drivers and their properties. |
driverquery [options] |
schtasks |
Manages scheduled tasks. |
schtasks [options] |
net |
Manages network resources. |
net [command] |
assoc |
Displays or modifies file extension associations. |
assoc [file_extension]=[file_type] |
ftype |
Displays or modifies file types used in file extension associations. |
ftype [file_type]=[command_string] |
path |
Displays or sets a search path for executable files. |
path [options] |
where |
Locates and displays files in directories in a command prompt. |
where [options] [file_name] |
doskey |
Edits command lines, recalls Windows commands, and creates macros. |
doskey [options] |
prompt |
Changes the Windows Command Prompt. |
prompt [text] |
title |
Sets the window title for the Command Prompt. |
title [text] |
cls |
Clears the Command Prompt screen. |
cls |
pause |
Pauses the execution of a batch file and shows a message. |
pause |
set |
Displays, sets, or removes environment variables. |
set [variable]=[value] |
ver |
Displays the Windows version number. |
ver |
exit |
Closes the Command Prompt. |
exit |
Top comments (0)