Windows NT Command Reference

The following is a list of all of the commands available in Windows NT 4 and brief descriptions of what each one does. This list includes all commands that can be entered at the command prompt along with those that are only used within batch files and CONFIG.SYS.

ASSOCDisplays or modifies file extension associations.
ATSchedules commands and programs to run on a computer.
ATTRIBDisplays or changes file attributes.
BREAKSets or clears extended CTRL+C checking.
CACLSDisplays or modifies access control lists (ACLs) of files.
CALLCalls one batch program from another.
CDDisplays the name of or changes the current directory.
CHCPDisplays or sets the active code page number.
CHDIRDisplays the name of or changes the current directory.
CHKDSKChecks a disk and displays a status report.
CLSClears the screen.
CMDStarts a new instance of the Windows NT command interpreter.
COLORSets the default console foreground and background colours.
COMPCompares the contents of two files or sets of files.
COMPACTDisplays or alters the compression of files on NTFS partitions.
CONVERTConverts FAT volumes to NTFS. You cannot convert the current drive.
COPYCopies one or more files to another location.
DATEDisplays or sets the date.
DELDeletes one or more files.
DIRDisplays a list of files and subdirectories in a directory.
DISKCOMPCompares the contents of two floppy disks.
DISKCOPYCopies the contents of one floppy disk to another.
DOSKEYEdits command lines, recalls Windows NT commands, and creates macros.
ECHODisplays messages, or turns command echoing on or off.
ENDLOCALEnds localization of environment changes in a batch file.
ERASEDeletes one or more files.
EXITQuits the CMD.EXE program (command interpreter).
FCCompares two files or sets of files, and displays the differences between them.
FINDSearches for a text string in a file or files.
FINDSTRSearches for strings in files.
FORRuns a specified command for each file in a set of files.
FORMATFormats a disk for use with Windows NT.
FTYPEDisplays or modifies file types used in file extension associations.
GOTODirects the Windows NT command interpreter to a labeled line in a batch program.
GRAFTABLEnables Windows NT to display an extended character set in graphics mode.
HELPProvides Help information for Windows NT commands.
IFPerforms conditional processing in batch programs.
KEYBConfigures a keyboard for a specific language.
LABELCreates, changes, or deletes the volume label of a disk.
MDCreates a directory.
MKDIRCreates a directory.
MODEConfigures a system device.
MOREDisplays output one screen at a time.
MOVEMoves one or more files from one directory to another directory on the same drive.
PATHDisplays or sets a search path for executable files.
PAUSESuspends processing of a batch file and displays a message.
POPDRestores the previous value of the current directory saved by PUSHD.
PRINTPrints a text file.
PROMPTChanges the Windows NT command prompt.
PUSHDSaves the current directory then changes it.
RDRemoves a directory.
RECOVERRecovers readable information from a bad or defective disk.
REMRecords comments (remarks) in batch files or CONFIG.SYS.
RENRenames a file or files.
RENAMERenames a file or files.
REPLACEReplaces files.
RESTORERestores files that were backed up by using the BACKUP command.
RMDIRRemoves a directory.
SETDisplays, sets, or removes Windows NT environment variables.
SETLOCALBegins localization of environment changes in a batch file.
SHIFTShifts the position of replaceable parameters in batch files.
SORTSorts input.
STARTStarts a separate window to run a specified program or command.
SUBSTAssociates a path with a drive letter.
TIMEDisplays or sets the system time.
TITLESets the window title for a CMD.EXE session.
TREEGraphically displays the directory structure of a drive or path.
TYPEDisplays the contents of a text file.
VERDisplays the Windows NT version.
VERIFYTells Windows NT whether to verify that your files are written correctly to a disk.
VOLDisplays a disk volume label and serial number.
XCOPYCopies files and directory trees.


This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow