Windows Commands
Revi: 2018-03-26 12:48:00 +08 @ China-Xinjiang-Urumqi +06 Auth: BSS9395 Reso:
A a
assocDisplays or modifies file extension associations.
B b
breakSets or Clears Extended CTRL+C checking on DOS system.
C c
caclsicaclsDisplays or modifies access control lists (ACLs) of files. callCalls one batch program from another. cdDisplays the name of or changes the current directory. changechcpDisplays or sets the active code page number. chdirDisplays the name of or changes the current directory. chkdskChecks a disk and displays a status report. chkntfsDisplays or modifies the checking of disk at boot time. cipherDisplays or alters the encryption of directories [files] on NTFS partitions. clsClears the screen. cmdStarts a new instance of the Windows command interpreter. copyCopies one or more files to another location.
D d
dateDisplays or sets the date. delDeletes one or more files. dirDisplays a list of files and subdirectories in a directory. diskpartdriverqueryEnables an administrator to display a list of installed device drivers.
E e
echoDisplays messages, or turns command-echoing on or off. eraseDeletes one or more files. exitQuits the CMD.EXE program (command interpreter) or the current batch script. expandExpands one or more compressed files.
F f
fcCompares two files or sets of files and displays the differences between them. findSearches for a text string in a file or files. forRuns a specified command for each file in a set of files. formatFormats a disk for use with Windows. ftpTransfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively.
G g
gotoDirects cmd.exe to a labeled line in a batch program.
H h
helpProvides help information for Windows commands. hostnamePrints the name of the current host.
I i
icaclsifPerforms conditional processing in batch programs. ipconfig/flushdns
J j
K k
L l
logoffTerminates a session. lprSends a print job to a network printer.
M m
mdCreates a directory. mklinkCreates a symbolic link. moreDisplays output one screen at a time. mountmoveMoves files and renames files and directories. msgSend a message to a user.
N n
netnetcfgnetshnetstatDisplays protocol statistics and current TCP/IP network connections. nslookup
O o
P p
pathpingpauseSuspends processing of a batch program and displays the message. pingpowercfgEnables users to control power settings on a local system.
Q q
query
R r
recoverRecovers readable information from a bad or defective disk. regrenameRenames a file or files. replaceReplaces files. resetrmdirRemoves (deletes) a directory. routeManipulates network routing tables.
S s
setDisplays, sets, or removes cmd.exe environment variables. sfcScans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions. shutdownsortstartStarts a separate window to run a specified program or command. systeminfoThis tool displays operating system configuration information for a local or remote machine, including service pack levels.
T t
taskkillThis tool is used to terminate tasks by process id (PID) or image name. tasklistThis tool displays a list of currently running processes on either a local or remote machine. telnettftpTransfers files to and from a remote computer running the TFTP service. timeDisplays or sets the system time. timeoutThis utility accepts a timeout parameter to wait for the specified time period (in seconds) or until any key is pressed. It also accepts a parameter to ignore the key press. tracerpttracerttreeGraphically displays the folder structure of a drive or path. tskillEnds a process. typeDisplays the contents of a text file or files.
U u
umount
V v
verDisplays the Windows version. verifyTells cmd.exe whether to verify that your files are written correctly to a disk. volDisplays the disk volume label and serial number, if they exist.
W w
waitforwhereDisplays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable.
X x
Y y
Z z