Download presentation
Presentation is loading. Please wait.
Published byTamsin Davidson Modified over 9 years ago
1
Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/1 Index of the Windows CMD Command Line Dr. Hussein Al-Bahadili (hbahadili@uop.edu.jo)hbahadili@uop.edu.jo Index of the Windows CMD Command Line
2
A Window CMD Commands (http://ss64.com/nt/) ADDUSERSADDUSERS Add or list users to/from a CSV file ARPARP Address Resolution Protocol ASSOCASSOC Change file extension associations ASSOCIATASSOCIAT One step file association ATTRIBATTRIB Change file attributes Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/2
3
B Window CMD Commands (http://ss64.com/nt/) BCDBOOTBCDBOOT Create or repair a system partition BOOTCFGBOOTCFG Edit Windows boot settings BROWSTATBROWSTAT Get domain, browser and PDC info Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/3
4
C Window CMD Commands (http://ss64.com/nt/) CACLSCACLS Change file permissions CALLCALL Call one batch program from another CDCD Change Directory - move to a specific Folder CHANGECHANGE Change Terminal Server Session properties CHKDSKCHKDSK Check Disk - check and repair disk problems CHKNTFSCHKNTFSCheck the NTFS file system CHOICECHOICE Accept keyboard input to a batch file CIPHERCIPHER Encrypt or Decrypt files/folders Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/4
5
C Window CMD Commands (http://ss64.com/nt/) CleanMgrCleanMgr Automated cleanup of Temp files, recycle bin CLEARMEM Clear memory leaks CLIPCLIP Copy STDIN to the Windows clipboard. CLS Clear the screen CLUSTER Windows Clustering CMDCMD Start a new CMD shell CMDKEYCMDKEY Manage stored usernames/passwords COLORCOLOR Change colors of the CMD window Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/5
6
C Window CMD Commands (http://ss64.com/nt/) COMPCOMP Compare the contents of two files or sets of files COMPACT Compress files or folders on an NTFS partition COMPRESSCompress individual files on an NTFS CON2PRTCON2PRTConnect or disconnect a Printer CONVERT Convert a FAT drive to NTFS. COPYCOPY Copy one or more files to another location CSCcmdCSCcmd Client-side caching (Offline Files) CSVDECSVDE Import or Export Active Directory data Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/6
7
D Window CMD Commands (http://ss64.com/nt/) DATEDATE Display or set the date DEFRAGDEFRAG Defragment hard drive DELDEL Delete one or more files DELPROFDELPROF Delete NT user profiles DELTREEDELTREE Delete a folder and all subfolders DevConDevCon Device Manager Command Line Utility DIRDIR Display a list of files and folders DIRUSEDIRUSE Display disk usage DISKCOMPDISKCOMP Compare the contents of two floppy disks Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/7
8
D Window CMD Commands (http://ss64.com/nt/) DISKCOPYDISKCOPY Copy the contents of one floppy disk to another DISKPARTDISKPART Disk Administration DNSSTAT DNS Statistics DOSKEYDOSKEY Edit command line, recall commands, and create macros DSACLsDSACLs Active Directory ACLs DSAddDSAdd Add items to active directory ( user group computer ) usergroupcomputer DSGetDSGet View items in active directory ( user group computer ) usergroupcomputer Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/8
9
D Window CMD Commands (http://ss64.com/nt/) DSQueryDSQuery Search for items in active directory ( user group computer ) usergroup computer DSModDSMod Modify items in active directory ( user group computer ) usergroupcomputer DSMoveDSMove Move an Active directory Object DSRMDSRM Remove items from Active Directory Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/9
10
E Window CMD Commands (http://ss64.com/nt/) ECHOECHO Display message on screen ENDLOCALENDLOCAL End localization of environment changes in a batch file ERASEERASE Delete one or more files EVENTCREATEEVENTCREATE Add a message to the Windows event log EXITEXIT Quit the current script/routine and set an errorlevel EXPANDEXPAND Uncompress files EXTRACTEXTRACT Uncompress CAB files Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/10
11
F Window CMD Commands (http://ss64.com/nt/) FCFC Compare two files FINDFIND Search for a text string in a file FINDSTRFINDSTR Search for strings in files FOR /FFOR /F Loop command: against a set of files FOR /FFOR /F Loop command: against the results of another command FORFOR Loop command: all options Files, Directory, List FORFILESFORFILES Batch process multiple files FORMATFORMAT Format a disk FREEDISK Check free disk space (in bytes) Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/11
12
F Window CMD Commands (http://ss64.com/nt/) FSUTILFSUTIL File and Volume utilities FTPFTP File Transfer Protocol FTYPEFTYPE Display or modify file types used in file extension associations Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/12
13
G/H/I Window CMD Commands (http://ss64.com/nt/) GLOBALGLOBAL Display membership of global groups GOTOGOTO Direct a batch program to jump to a labelled line GPUPDATEGPUPDATE Update Group Policy settings HELPHELP Online Help iCACLSiCACLS Change file and folder permissions IFIF Conditionally perform a command IFMEMBERIFMEMBER Is the current user in an NT Workgroup IPCONFIGIPCONFIG Configure IP Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/13
14
K/L Window CMD Commands (http://ss64.com/nt/) KILLKILL Remove a program from memory LABELLABEL Edit a disk label LOCALLOCAL Display membership of local groups LOGEVENTLOGEVENT Write text to the NT event viewer LOGMANLOGMAN Manage Performance Monitor LOGOFFLOGOFF Log a user off LOGTIMELOGTIME Log the date and time in a file Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/14
15
M Window CMD Commands (http://ss64.com/nt/) MAPISENDMAPISEND Send email from the command line MBSAcliMBSAcli Baseline Security Analyzer. MEMMEM Display memory usage MDMD Create new folders MKLINKMKLINK Create a symbolic link (linkd) MODEMODE Configure a system device MOREMORE Display output, one screen at a time MOUNTVOLMOUNTVOL Manage a volume mount point MOVEMOVE Move files from one folder to another Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/15
16
M Window CMD Commands (http://ss64.com/nt/) MOVEUSERMOVEUSER Move a user from one domain to another MSGMSG Send a message MSIEXECMSIEXEC Microsoft Windows Installer MSINFOMSINFO Windows NT diagnostics MSTSCMSTSC Terminal Server Connection (Remote Desktop Protocol) MVMV Copy in-use files Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/16
17
N Window CMD Commands (http://ss64.com/nt/) NETNET Manage network resources NETDOMNETDOM Domain Manager NETSHNETSH Configure Network Interfaces, Windows Firewall & Remote access NETSVCNETSVC Command-line Service Controller NBTSTATNBTSTAT Display networking statistics (NetBIOS over TCP/IP) NETSTATNETSTAT Display networking statistics (TCP/IP) NOWNOW Display the current Date and Time NSLOOKUPNSLOOKUP Name server lookup Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/17
18
N/O Window CMD Commands (http://ss64.com/nt/)http://ss64.com/nt/ NTBACKUP Backup folders to tapeNTBACKUP NTRIGHTS Edit user account rightsNTRIGHTS OPENFILES Query or display open filesOPENFILES Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/18
19
P Window CMD Commands (http://ss64.com/nt/)http://ss64.com/nt/ PATHPATH Display or set a search path for executable files PATHPINGPATHPING Trace route plus network latency and packet loss PAUSEPAUSE Suspend processing of a batch file and display a message PERMSPERMS Show permissions for a user PERFMONPERFMON Performance Monitor PINGPING Test a network connection POPDPOPD Restore the previous value of the current directory saved by PUSHD Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/19
20
P Window CMD Commands (http://ss64.com/nt/) PORTQRYPORTQRY Display the status of ports and services POWERCFGPOWERCFGConfigure power settings PRINTPRINT Print a text file PRINTBRMPRINTBRM Print queue Backup/Recovery PRNCNFGPRNCNFG Display, configure or rename a printer PRNMNGRPRNMNGR Add, delete, list printers set the default printer PROMPTPROMPT Change the command prompt PsExecPsExec Execute process remotely Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/20
21
P Window CMD Commands (http://ss64.com/nt/) PsFilePsFile Show files opened remotely PsGetSidPsGetSid Display the SID of a computer or a user PsInfoPsInfo List information about a system PsKillPsKill Kill processes by name or process ID PsListPsList List detailed information about processes PsLoggedOnPsLoggedOnWho's logged on (locally or via resource sharing) PsLogListPsLogList Event log records PsPasswdPsPasswd Change account password Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/21
22
P/Q Window CMD Commands (http://ss64.com/nt/) PsServicePsService View and control services PsShutdownPsShutdown Shutdown or reboot a computer PsSuspendPsSuspend Suspend processes PUSHDPUSHD Save and then change the current directory QGREPQGREP Search file(s) for lines that match a given pattern. Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/22
23
R Window CMD Commands (http://ss64.com/nt/) RASDIALRASDIAL Manage RAS connections RASPHONERASPHONE Manage RAS connections RECOVERRECOVER Recover a damaged file from a defective disk. REGREG Registry: Read, Set, Export, Delete keys and values REGEDITREGEDIT Import or export registry settings REGSVR32REGSVR32 Register or unregister a DLL REGINIREGINI Change Registry Permissions REMREM Record comments (remarks) in a batch file Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/23
24
R Window CMD Commands (http://ss64.com/nt/) RENREN Rename a file or files REPLACEREPLACE Replace or update one file with another RDRD Delete folder(s) RMTSHARERMTSHARE Share a folder or a printer ROBOCOPYROBOCOPY Robust File and Folder Copy ROUTEROUTE Manipulate network routing tables RUNRUN Start | RUN commands RUNASRUNAS Execute under a different user account RUNDLL32RUNDLL32 Run a DLL command (add/remove print connections) Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/24
25
S Window CMD Commands (http://ss64.com/nt/) SCSC Service Control SCHTASKSSCHTASKS Schedule a command to run at a specific time SCLISTSCLIST Display NT Services SETSET Display, set, or remove environment variables SETLOCALSETLOCAL Control the visibility of environment variables SETXSETX Set environment variables permanently SFCSFC System File Checker SHARESHARE List or edit a file share or print share Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/25
26
S Window CMD Commands (http://ss64.com/nt/) SHIFTSHIFT Shift the position of replaceable parameters in a batch file SHORTCUTSHORTCUT Create a windows shortcut (.LNK file) SHOWGRPSSHOWGRPS List the NT Workgroups a user has joined SHOWMBRSSHOWMBRS List the Users who are members of a Workgroup SHUTDOWNSHUTDOWN Shutdown the computer SLEEPSLEEP Wait for x seconds SLMGRSLMGR Software Licensing Management (Vista/2008) Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/26
27
S Window CMD Commands (http://ss64.com/nt/) SLMGRSLMGR Software Licensing Management (Vista/2008) SOONSOON Schedule a command to run in the near future SORTSORT Sort input STARTSTART Start a program or command in a separate window SUSU Switch User SUBINACLSUBINACL Edit file and folder Permissions, Ownership and Domain SUBSTSUBST Associate a path with a drive letter SYSTEMINFOSYSTEMINFO List system configuration Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/27
28
T Window CMD Commands (http://ss64.com/nt/) TASKLISTTASKLIST List running applications and services TASKKILLTASKKILL Remove a running process from memory TIMETIME Display or set the system time TIMEOUTTIMEOUT Delay processing of a batch file TITLETITLE Set the window title for a CMD.EXE session TLISTTLIST Task list with full path TOUCHTOUCH Change file timestamps TRACERTTRACERT Trace route to a remote host TREE Graphical display of folder structure Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/28
29
T/V Window CMD Commands (http://ss64.com/nt/) TSSHUTDNTSSHUTDN Remotely shut down or reboot a terminal server TYPETYPE Display the contents of a text file TypePerfTypePerf Write performance data to a log file u USRSTAT List domain usernames and last login VERVER Display version information VERIFYVERIFY Verify that files have been saved VOLVOL Display a disk label Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/29
30
W Window CMD Commands (http://ss64.com/nt/) WHEREWHERE Locate and display files in a directory tree WHOAMIWHOAMI Output the current UserName and domain WINDIFFWINDIFF Compare the contents of two files or sets of files WINMSDWINMSD Windows system diagnostics WINMSDPWINMSDP Windows system diagnostics II WINRMWINRM Windows Remote Management WINRSWINRS Windows Remote Shell WMICWMIC WMI Commands WUAUCLTWUAUCLT Windows Update Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/30
31
X/:: Window CMD Commands (http://ss64.com/nt/) XCACLSXCACLS Change file and folder permissions XCOPYXCOPY Copy files and folders :::: Comment/Remark Commands marked are Internal commands only available within the CMD shell. All other commands (not marked with ) are external commands which may be used under the CMD shell, PowerShell, or directly from START-RUN. PowerShell Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/31
32
Index for Windows CMD Commands http://ss64.com/nt/ Index for Windows CMD Commands - Dr. Hussein Al-Bahadili 32/32
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.