Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

An A-Z Index of the Windows CMD command line

ADDUSERS Add or l i st user s t o/ f r oma CSV f i l e


ARP Addr ess Resol ut i on Pr ot ocol
ASSOC Change f i l e ext ensi on associ at i ons
ASSOCI AT One st ep f i l e associ at i on
ATTRI B Change f i l e at t r i but es
b
BCDBOOT Cr eat e or r epai r a syst empar t i t i on
BOOTCFG Edi t Wi ndows boot set t i ngs
BROWSTAT Get domai n, br owser and PDC i nf o
c
CACLS Change f i l e per mi ssi ons
CALL Cal l one bat ch pr ogr amf r omanot her
CD Change Di r ect or y - move t o a speci f i c Fol der
CHANGE Change Ter mi nal Ser ver Sessi on pr oper t i es
CHKDSK Check Di sk - check and r epai r di sk pr obl ems
CHKNTFS Check t he NTFS f i l e syst em
CHOI CE Accept keyboar d i nput t o a bat ch f i l e
CI PHER Encr ypt or Decr ypt f i l es/ f ol der s
Cl eanMgr Aut omat ed cl eanup of Temp f i l es, r ecycl e bi n
CLEARMEM Cl ear memor y l eaks
CLI P Copy STDI N t o t he Wi ndows cl i pboar d.
CLS Cl ear t he scr een
CLUSTER Wi ndows Cl ust er i ng
CMD St ar t a new CMD shel l
CMDKEY Manage st or ed user names/ passwor ds
COLOR Change col or s of t he CMD wi ndow
COMP Compar e t he cont ent s of t wo f i l es or set s of
f i l es
COMPACT Compr ess f i l es or f ol der s on an NTFS par t i t i on
COMPRESS Compr ess i ndi vi dual f i l es on an NTFS par t i t i on
CON2PRT Connect or di sconnect a Pr i nt er
CONVERT Conver t a FAT dr i ve t o NTFS.
COPY Copy one or mor e f i l es t o anot her l ocat i on
CSCcmd Cl i ent - si de cachi ng ( Of f l i ne Fi l es)
CSVDE I mpor t or Expor t Act i ve Di r ect or y dat a
d
DATE Di spl ay or set t he dat e
DEFRAG Def r agment har d dr i ve
DEL Del et e one or mor e f i l es
DELPROF Del et e NT user pr of i l es
DELTREE Del et e a f ol der and al l subf ol der s
DevCon Devi ce Manager Command Li ne Ut i l i t y
DI R Di spl ay a l i st of f i l es and f ol der s
DI RUSE Di spl ay di sk usage
DI SKCOMP Compar e t he cont ent s of t wo f l oppy di sks
DI SKCOPY Copy t he cont ent s of one f l oppy di sk t o anot her
DI SKPART Di sk Admi ni st r at i on
DNSSTAT DNS St at i st i cs
DOSKEY Edi t command l i ne, r ecal l commands, and cr eat e
macr os
DSACLs Act i ve Di r ect or y ACLs
DSAdd Add i t ems t o act i ve di r ect or y ( user gr oup
comput er )
DSGet Vi ew i t ems i n act i ve di r ect or y ( user gr oup
comput er )
DSQuer y Sear ch f or i t ems i n act i ve di r ect or y ( user
gr oup comput er )
DSMod Modi f y i t ems i n act i ve di r ect or y ( user gr oup
comput er )
DSMove Move an Act i ve di r ect or y Obj ect
DSRM Remove i t ems f r omAct i ve Di r ect or y
e
ECHO Di spl ay message on scr een
ENDLOCAL End l ocal i sat i on of envi r onment changes i n a
bat ch f i l e
ERASE Del et e one or mor e f i l es
EVENTCREATE Add a message t o t he Wi ndows event l og
EXI T Qui t t he cur r ent scr i pt / r out i ne and set an
er r or l evel
EXPAND Uncompr ess f i l es
EXTRACT Uncompr ess CAB f i l es
f
FC Compar e t wo f i l es
FI ND Sear ch f or a t ext st r i ng i n a f i l e
FI NDSTR Sear ch f or st r i ngs i n f i l es
FOR / F Loop command: agai nst a set of f i l es
FOR / F Loop command: agai nst t he r esul t s of anot her
command
FOR Loop command: al l opt i ons Fi l es, Di r ect or y,
Li st
FORFI LES Bat ch pr ocess mul t i pl e f i l es
FORMAT For mat a di sk
FREEDI SK Check f r ee di sk space ( i n byt es)
FSUTI L Fi l e and Vol ume ut i l i t i es
FTP Fi l e Tr ansf er Pr ot ocol
FTYPE Di spl ay or modi f y f i l e t ypes used i n f i l e
ext ensi on associ at i ons
g
GLOBAL Di spl ay member shi p of gl obal gr oups
GOTO Di r ect a bat ch pr ogr amt o j ump t o a l abel l ed
l i ne
GPUPDATE Updat e Gr oup Pol i cy set t i ngs
h
HELP Onl i ne Hel p
i
i CACLS Change f i l e and f ol der per mi ssi ons
I F Condi t i onal l y per f or ma command
I FMEMBER I s t he cur r ent user i n an NT Wor kgr oup
I PCONFI G Conf i gur e I P
k
KI LL Remove a pr ogr amf r ommemor y
l
LABEL Edi t a di sk l abel
LOCAL Di spl ay member shi p of l ocal gr oups
LOGEVENT Wr i t e t ext t o t he NT event vi ewer
LOGMAN Manage Per f or mance Moni t or
LOGOFF Log a user of f
LOGTI ME Log t he dat e and t i me i n a f i l e
m
MAPI SEND Send emai l f r omt he command l i ne
MBSAcl i Basel i ne Secur i t y Anal yzer .
MEM Di spl ay memor y usage
MD Cr eat e new f ol der s
MKLI NK Cr eat e a symbol i c l i nk ( l i nkd)
MODE Conf i gur e a syst emdevi ce
MORE Di spl ay out put , one scr een at a t i me
MOUNTVOL Manage a vol ume mount poi nt
MOVE Move f i l es f r omone f ol der t o anot her
MOVEUSER Move a user f r omone domai n t o anot her
MSG Send a message
MSI EXEC Mi cr osof t Wi ndows I nst al l er
MSI NFO Wi ndows NT di agnost i cs
MSTSC Ter mi nal Ser ver Connect i on ( Remot e Deskt op
Pr ot ocol )
MUNGE Fi nd and Repl ace t ext wi t hi n f i l e( s)
MV Copy i n- use f i l es
n
NET Manage net wor k r esour ces
NETDOM Domai n Manager
NETSH Conf i gur e Net wor k I nt er f aces, Wi ndows Fi r ewal l
& Remot e access
NETSVC Command- l i ne Ser vi ce Cont r ol l er
NBTSTAT Di spl ay net wor ki ng st at i st i cs ( Net BI OS over
TCP/ I P)
NETSTAT Di spl ay net wor ki ng st at i st i cs ( TCP/ I P)
NOW Di spl ay t he cur r ent Dat e and Ti me
NSLOOKUP Name ser ver l ookup
NTBACKUP Backup f ol der s t o t ape
NTRI GHTS Edi t user account r i ght s
o
OPENFI LES Quer y or di spl ay open f i l es
p
PATH Di spl ay or set a sear ch pat h f or execut abl e
f i l es
PATHPI NG Tr ace r out e pl us net wor k l at ency and packet
l oss
PAUSE Suspend pr ocessi ng of a bat ch f i l e and di spl ay
a message
PERMS Show per mi ssi ons f or a user
PERFMON Per f or mance Moni t or
PI NG Test a net wor k connect i on
POPD Rest or e t he pr evi ous val ue of t he cur r ent
di r ect or y saved by PUSHD
PORTQRY Di spl ay t he st at us of por t s and ser vi ces
POWERCFG Conf i gur e power set t i ngs
PRI NT Pr i nt a t ext f i l e
PRI NTBRM Pr i nt queue Backup/ Recover y
PRNCNFG Di spl ay, conf i gur e or r ename a pr i nt er
PRNMNGR Add, del et e, l i st pr i nt er s set t he def aul t
pr i nt er
PROMPT Change t he command pr ompt
PsExec Execut e pr ocess r emot el y
PsFi l e Show f i l es opened r emot el y
PsGet Si d Di spl ay t he SI D of a comput er or a user
PsI nf o Li st i nf or mat i on about a syst em
PsKi l l Ki l l pr ocesses by name or pr ocess I D
PsLi st Li st det ai l ed i nf or mat i on about pr ocesses
PsLoggedOn Who' s l ogged on ( l ocal l y or vi a r esour ce
shar i ng)
PsLogLi st Event l og r ecor ds
PsPasswd Change account passwor d
PsSer vi ce Vi ew and cont r ol ser vi ces
PsShut down Shut down or r eboot a comput er
PsSuspend Suspend pr ocesses
PUSHD Save and t hen change t he cur r ent di r ect or y
q
QGREP Sear ch f i l e( s) f or l i nes t hat mat ch a gi ven
pat t er n.
r
RASDI AL Manage RAS connect i ons
RASPHONE Manage RAS connect i ons
RECOVER Recover a damaged f i l e f r oma def ect i ve di sk.
REG Regi st r y: Read, Set , Expor t , Del et e keys and
val ues
REGEDI T I mpor t or expor t r egi st r y set t i ngs
REGSVR32 Regi st er or unr egi st er a DLL
REGI NI Change Regi st r y Per mi ssi ons
REM Recor d comment s ( r emar ks) i n a bat ch f i l e
REN Rename a f i l e or f i l es
REPLACE Repl ace or updat e one f i l e wi t h anot her
RD Del et e f ol der ( s)
RMTSHARE Shar e a f ol der or a pr i nt er
ROBOCOPY Robust Fi l e and Fol der Copy
ROUTE Mani pul at e net wor k r out i ng t abl es
RUN St ar t | RUN commands
RUNAS Execut e a pr ogr amunder a di f f er ent user
account
RUNDLL32 Run a DLL command ( add/ r emove pr i nt
connect i ons)
s
SC Ser vi ce Cont r ol
SCHTASKS Schedul e a command t o r un at a speci f i c t i me
SCLI ST Di spl ay NT Ser vi ces
SET Di spl ay, set , or r emove envi r onment var i abl es
SETLOCAL Cont r ol t he vi si bi l i t y of envi r onment
var i abl es
SETX Set envi r onment var i abl es per manent l y
SFC Syst emFi l e Checker
SHARE Li st or edi t a f i l e shar e or pr i nt shar e
SHI FT Shi f t t he posi t i on of r epl aceabl e par amet er s i n
a bat ch f i l e
SHORTCUT Cr eat e a wi ndows shor t cut ( . LNK f i l e)
SHOWGRPS Li st t he NT Wor kgr oups a user has j oi ned
SHOWMBRS Li st t he User s who ar e member s of a Wor kgr oup
SHUTDOWN Shut down t he comput er
SLEEP Wai t f or x seconds
SLMGR Sof t war e Li censi ng Management ( Vi st a/ 2008)
SOON Schedul e a command t o r un i n t he near f ut ur e
SORT Sor t i nput
START St ar t a pr ogr amor command i n a separ at e
wi ndow
SU Swi t ch User
SUBI NACL Edi t f i l e and f ol der Per mi ssi ons, Owner shi p and
Domai n
SUBST Associ at e a pat h wi t h a dr i ve l et t er
SYSTEMI NFO Li st syst emconf i gur at i on
t
TASKLI ST Li st r unni ng appl i cat i ons and ser vi ces
TASKKI LL Remove a r unni ng pr ocess f r ommemor y
TI ME Di spl ay or set t he syst emt i me
TI MEOUT Del ay pr ocessi ng of a bat ch f i l e
TI TLE Set t he wi ndow t i t l e f or a CMD. EXE sessi on
TLI ST Task l i st wi t h f ul l pat h
TOUCH Change f i l e t i mest amps
TRACERT Tr ace r out e t o a r emot e host
TREE Gr aphi cal di spl ay of f ol der st r uct ur e
TYPE Di spl ay t he cont ent s of a t ext f i l e
TypePer f Wr i t e per f or mance dat a t o a l og f i l e
u
USRSTAT Li st domai n user names and l ast l ogi n
v
VER Di spl ay ver si on i nf or mat i on
VERI FY Ver i f y t hat f i l es have been saved
VOL Di spl ay a di sk l abel
w
WHERE Locat e and di spl ay f i l es i n a di r ect or y t r ee
WHOAMI Out put t he cur r ent User Name and domai n
WI NDI FF Compar e t he cont ent s of t wo f i l es or set s of
f i l es
WI NMSD Wi ndows syst emdi agnost i cs
WI NMSDP Wi ndows syst emdi agnost i cs I I
WI NRM Wi ndows Remot e Management
WI NRS Wi ndows Remot e Shel l
WMI C WMI Commands
x
XCACLS Change f i l e and f ol der per mi ssi ons
XCOPY Copy f i l es and f ol der s
: : Comment / Remar k

You might also like