|
DOS Command |
Function of
DOS command |
|
addusers |
- add or list users
to/from a csv file |
arp |
- address resolution protocol |
assoc |
- change file extension
associations |
associat |
- one step file
association |
at |
- schedule a command to run at
a later time | more |
attrib |
- change file attributes |
more |
|
browstat
|
- get domain, browser and pdc info |
|
cacls |
- change file permissions |
call |
- call one batch program from another
| more |
cd |
- change directory - move to a specific folder
| more |
change |
- change terminal server session properties |
chkdsk |
- check disk - check and repair disk problems
|
more |
chkntfs |
- check the ntfs file system
| more |
choice
|
- accept keyboard input to a batch file |
cipher |
- encrypt or decrypt files/folders |
cleanmgr |
- automated cleanup of temp files, recycle
bin |
clearmem |
- clear memory leaks |
clip |
- copy stdin to the windows clipboard. |
cls |
- clear the screen |
cluster |
- windows clustering |
cmd |
- start a new cmd shell
| more |
color |
- change colours of the cmd window
| more |
comp |
- compare the contents of two files or sets of
files |
compact
|
- compress files or folders on an ntfs
partition | more |
compress |
- compress individual files on an ntfs
partition |
con2prt |
- connect or disconnect a printer |
convert
|
- convert a fat drive to ntfs. |
copy |
- copy one or more files to another location
|
more |
csvde |
- import or export active directory data
|
date |
- display or set the date |
dcomcnfg |
- dcom configuration utility |
defrag |
- defragment hard drive |
del |
- delete one or more files
|
more |
delprof |
- delete nt user profiles |
deltree |
- delete a folder and all subfolders |
devcon |
- device manager command line utility
|
dir |
- display a list of files and folders
| more |
diruse |
- display disk usage |
diskcomp |
- compare the contents of two floppy disks |
diskcopy |
- copy the contents of one floppy disk to
another |
|
dnsstat
|
- dns statistics |
|
doskey |
-
edit command line, recall commands, and
create macros | more |
dsadd |
- add user (computer, group..) to active
directory |
dsquery |
- list items in active directory |
dsmod |
- modify user (computer, group..) in active
directory |
echo |
- display message on screen |
endlocal |
- Ends localization of environment changes in a |
more |
|
erase |
- delete one or more files
| more |
|
exit |
- quit the cmd shell
| more |
expand |
- uncompress files |
extract |
- uncompress cab files |
fc |
- compare two files
| more |
fdisk |
- disk format and partition |
find |
- search for a text string in a file |
findstr |
- search for strings in files
| more |
for |
- conditionally perform a command several times
| more |
forfiles |
- batch process multiple files |
format
|
- format a disk
| more |
freedisk |
- check free disk space (in bytes) |
fsutil
|
- file and volume utilities |
ftp |
- file transfer protocol |
ftype |
- display or modify file types used in file
extension associations | more |
global
|
- display membership of global groups |
goto |
-
direct a batch program to jump to a labelled
line | more |
help |
- online help |
hfnetchk |
- network security hotfix checker
|
if |
- conditionally perform a command
| more |
ifmember |
- is the current user in an nt workgroup |
instsrv |
- install an nt service |
ipconfig
|
- displays your IP address.
|
|
kill |
- remove a program from memory |
|
label |
- edit a disk label
| more |
|
local |
- display membership of local groups |
logevent |
- write text to the nt event viewer. |
logoff |
- log a user off |
logtime |
- log the date and time in a file |
mapisend |
- send email from the command line |
mem |
- display memory usage |
|
md |
- create new folders
| more |
|
mode |
- configure a system device
| more |
|
more |
- display output, one screen at a time
| more |
|
mountvol |
- manage a volume mount point |
|
move |
- move files from one folder to another
| more |
moveuser |
- move a user from one domain to another |
msg |
- send a message |
msiexec |
- microsoft windows installer |
msinfo |
- windows nt diagnostics |
munge |
- find and replace text within file(s) |
mv |
- copy in-use files |
net |
- manage network resources |
netdom |
- domain manager |
netsh |
- configure network protocols |
netsvc |
- command-line service controller |
nbtstat |
- display networking statistics (netbios
over tcp/ip) |
netstat
|
- display networking statistics (tcp/ip) |
now |
- display the current date and time
|
nslookup |
- name server lookup |
ntbackup |
- backup folders to tape |
ntrights |
- edit user account rights |
path |
-
display or set a search path for executable files
| more |
pathping |
- ip trace utility |
pause |
- suspend processing of a batch file and
display a message |
perms |
- show permissions for a user |
perfmon |
- performance monitor |
ping |
- test a network connection |
popd |
- restore the previous value of the current
directory saved by pushd |
portqry |
- display the status of ports and services |
|
print |
- print a text file |
|
prncnfg |
- display, configure or rename a printer |
|
prnmngr |
- add, delete, list printers set the default
printer |
|
prompt |
- change the command prompt
| more |
|
pushd |
- save and then change the current directory
| more |
|
qgrep |
- search file(s) for lines that match a given pattern. |
|
rasdial
|
- manage ras connections |
|
rasphone |
- manage ras connections |
|
recover |
- recover a damaged file from a defective
disk. |
|
reg |
- read, set or delete registry keys and values |
|
regedit |
- import or export registry settings |
|
regsvr32 |
- register or unregister a dll |
|
regini
|
- change registry permissions |
|
rem |
- record comments (remarks) in a batch file |
|
ren |
- rename a file or files. |
|
replace |
- replace or update one file with another
| more |
|
rd |
- delete folder(s)
| more |
|
rdisk |
- create a recovery disk |
|
rmtshare |
- share a folder or a printer |
|
robocopy |
- robust file and folder copy |
|
route |
- manipulate network routing tables |
|
runas |
- execute a program under a different user
account |
|
rundll32 |
- run a dll command (add/remove print
connections) |
|
sc |
- service control |
|
schtasks |
- create or edit scheduled tasks
|
|
sclist |
- display nt services |
|
scriptit
|
- control gui applications |
|
set |
- display, set, or remove windows nt environment
variables | more |
|
setlocal
|
- begin localisation of environment changes
in a batch file | more |
|
setx |
- set environment variables permanently |
|
share |
- list or edit a file share or print share |
|
shift |
- shift the position of replaceable parameters
in a batch file | more |
|
shortcut |
- create a windows shortcut (.lnk file) |
|
showgrps |
- list the nt workgroups a user is in |
|
showmbrs |
- list the members of an nt workgroup |
|
shutdown |
- shutdown the computer |
|
shutgui |
- shutdown the computer |
|
sleep |
- wait for x seconds |
|
soon |
- schedule a command to run in the near future |
|
sort |
- sort input
| more |
|
start |
- start a separate window to run a specified
program or command | more |
|
su |
- switch user |
|
subinacl |
- edit file and folder permissions,
ownership and domain |
|
subst |
- associate a path with a drive letter
| more |
|
tasklist |
- list running applications and services |
|
time |
- display or set the system time
| more |
|
timeout |
- delay processing of a batch file |
|
title |
- set the window title for a cmd.exe session |
|
touch |
- change file timestamps
|
|
tracert |
- trace route to a remote host |
|
tree |
- graphical display of folder structure |
|
type |
- display the contents of a text file |
|
usrstat
|
- list domain usernames and last login |
|
ver |
- display version information |
|
verify |
- verify that files have been saved |
|
vol |
- display a disk label |
|
where |
- locate and display files in a directory tree |
|
whoami |
- output the current username and domain |
|
winmsd
|
- windows nt diagnostics |
|
winmsdp |
- windows nt diagnostics ii |
|
wmic |
- wmi command |
|
xcacls |
- change file permissions |
|
xcopy |
- copy files and folders |
more |