Advertisement
v1ral_ITS

Full A-Z Windows CMD Command List

Jan 16th, 2020
830
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 14.00 KB | None | 0 0
  1.  addusers    Used to add and list users in a CSV file
  2.  admodcmd    Used for bulk modifying contents in an active directory
  3.  arp     Address Resolution Protocol is used to map IP address to the hardware address
  4.  assoc   Used to change associations for file extensions
  5.  associat    One step file association
  6.  at      Run a command at a specific time
  7.  atmadm      Display connection info of the ATM adapter
  8.  attrib      Used to change file attributes
  9. B
  10.  bcdboot     Used to create and repair a system partition
  11.  bcdedit     Used to manage boot configuration data
  12.  bitsadmin   Used to manage the Background Intelligent Transfer Service
  13.  bootcfg     Used to edit boot configuration in Windows
  14.  break   Enable/Disable break capability (CTRL+C) in CMD
  15. C
  16.  cacls   Used to change permissions of files
  17.  call    Used one batch program to call another
  18.  certreq     Used to request a certificate from a certification authority
  19.  certutil    Manage Certification Authority files and services
  20.  cd      Used to change folder (directory) or go to a specific one
  21.  change      Used to change terminal services
  22.  chcp    Displays the number of active console code page
  23.  chdir   Same as cd command
  24.  chkdsk      Used to check and repair issues in the disk
  25.  chkntfs     Used to check the NTFS file system
  26.  choice      Accept user input (via keyboard) to a batch file
  27.  cipher      Used to encrypt/decrypt files and folder
  28.  cleanmgr    Used clean temp files and recycle bin automatically
  29.  clip    Copy result of any command (stdin) to Windows clipboard
  30.  cls     Clear CMD screen
  31.  cmd     Used to start a new CMD shell
  32.  cmdkey      Used to manage stored usernames and passwords
  33.  cmstp   Used to install or remove a connection manager service profile
  34.  color   Change the color of the CMD shell using options
  35.  comp    Compare contents of two files or two sets of files
  36.  compact     Compress files and folders on an NTFS partition
  37.  compress    Compress one or more files
  38.  convert     Convert a FAT partition to NTFS
  39.  copy    Copy one or more files to another location
  40.  coreinfo    Show the mapping between logical and physical processors
  41.  cprofile   Cleans specified profiles of wasted space and disabled user-specific file associations
  42.  cscmd   Configure offline files on a client computer
  43.  csvde   Import or Export the data of an active directory
  44. D
  45.  date    Used to display the date or change it
  46.  defrag      Used to defragment system hard drive
  47.  del     Used to delete a file(s)
  48.  delprof     Used to delete user profile(s)
  49.  deltree     Used to delete a folder and its sub-folders
  50.  devcon      Access the command line device manager utility
  51.  dir     Used to display files and folders list
  52.  dirquota    Manage File Server Resource Manager quotas
  53.  diruse      Used to display disk usage
  54.  diskcomp    Compare contents of two floppy disks
  55.  diskcopy    Copy data of one floppy disk to another
  56.  diskpart    Make changes to partitions of storage, both internal and connected
  57.  diskshadow      Access the Disk Shadow Copy Service
  58.  diskuse     View used space in folder(s)
  59.  doskey      Used to edit command line, recall commands, and create macros
  60.  driverquery     Display a list of installed device drivers
  61.  dsacls      View and edit access control entries for objects in active directory
  62.  dsadd   Used to add objects to active directory
  63.  dsget   View objects in active directory
  64.  dsquery     Find objects in an active directory
  65.  dsmod   Used to modify objects in an active directory
  66.  dsmove      Rename or move an active directory object.
  67.  dsrm    Remove objects from an active directory
  68.  dsmgmt      Manage Active Directory Lightweight Directory Services
  69. E
  70. echo    Turn command-echoing feature on/off, display a message on the screen
  71. endlocal    End localization environment changes in a batch file
  72. erase   Used to delete on or more file(s)
  73. eventcreate     Add custom event to Windows event log (Admin rights required)
  74. eventquerry     Display list of events and their properties from event logs
  75. eventtriggers   Display and configure event triggers on local and remote machines
  76. exit    Exit the command line (Quit current batch script)
  77. expand  Uncompress one or more .CAB file(s)
  78. explorer    Open Windows Explorer
  79. extract     Uncompress one or more Windows cabinet file(s)
  80. F
  81. fc  Used to compare two files
  82. find    Used to search a specified text string in a file
  83. findstr     Used to find string patterns in files
  84. finger  Display information about user(s) on a specified remote computer
  85. flattemp    Used to enable/disable flat temporary folders
  86. For     Run a command in a loop for a file(s) for defined parameter
  87. forfiles    Used for batch processing of selected file(s)
  88. format  Used to format a disk
  89. freedisk    Used to check free space on a disk
  90. fsutil  File system utility to manage file and drive properties
  91. ftp     Use FTP service to transfer files from one PC to another
  92. ftype   Display/ Modify file extension type associations
  93. G
  94. getmac  Used to display the MAC address of your network adapter
  95. goto    Used to direct a batch program to a line identified by a label
  96. gpresult    Display Group Policy Settings and Resultant Set of Policy for a user
  97. gpupdate    Update local and active directory based on group policy settings
  98. graftabl    Turn on the ability to display an extended character in graphics mode
  99. H
  100. help    Display a list of commands and see online information for them
  101. hostname    Used to display host name of the computer
  102. I
  103. icacls  Used to change permissions of files and folders
  104. iexpress    Used to create a self-extracting zip archive
  105. if  Used for conditional processing in batch programs
  106. ifmember    Display the group(s) an active user belongs to
  107. inuse   Replace the files which the OS is currently using (restart required)
  108. ipconfig    Display and change Windows IP configuration
  109. ipseccmd    Used to configure IP Security policies
  110. ipxroute    Display and modify routing table information used by IPX protocol
  111. irftp   Used to send files over an infrared link (infrared functionality required)
  112. L
  113. label   Used to change the name of a disk
  114. lodctr  Update registry values with latest performance counters
  115. logman  Used to manage performance monitor logs
  116. logoff  Log a user off
  117. logtime     Add the date, time, and a message to a text file
  118. lpq     Displays print queue status
  119. lpr     Used to send a file to a computer running the Line Printer Daemon service
  120. M
  121. macfile     Manage files server for Mackintosh
  122. makecab     Used to create .cab files
  123. mapisend    Used to send email from command line
  124. mbsacli     Microsoft Baseline Security Analyser
  125. mem     Used to show memory usage
  126. md  Used to create directories and sub-directories
  127. mkdir   Used to create directories and sub-directories
  128. mklink  Used to create symbolic link to a directory
  129. mmc     Access Microsoft Management Console
  130. mode    Configure COM, LPT, CON system devices
  131. more    Display one screen of output at time
  132. mountvol    Create, list, or delete a volume mount point
  133. move    Used to move files from one folder to another
  134. moveuser    Move user account to a domain or between machines
  135. msg     Used to send a pop-up message to a user
  136. msiexec     Install, modify, configure using Windows Installer
  137. msinfo32    Display system information
  138. mstsc   Create a remote desktop connection
  139. N
  140. nbstat  Display NetBIOS over TCP/IP information
  141. net     Used to manage network resources and services
  142. netdom  Network Domain Manager utility
  143. netsh   Display or modify network configuration
  144. netstat     Display active TCP/IP connections
  145. nlsinfo     Used to display locale information
  146. nltest  List domain controllers, force remote shutdown, etc
  147. now     Display date and time
  148. nslookup    Check IP address on a Name Server
  149. ntbackup    Backup data to tape using CMD or batch file
  150. ntcmdprompt     Runs cmd.exe instead of command.exe in an MS-DOS application
  151. ntdsutil    Manage Active Directory Domain Services
  152. ntrights    Used to edit user account privileges
  153. ntsd    Only for system developers
  154. nvspbind    Used to modify network bindings
  155. O
  156. openfiles   Queries or displays open files
  157. P
  158. pagefileconfig  Display and configure Virtual memory settings
  159. path    Set PATH environment variable for executable files
  160. pathping    Latency and Packet loss info for each node in the network path
  161. pause   Used to stop processing of a batch file
  162. pbadmin     Starts Phone Book Administrator
  163. pentnt  Detect Floating Point Division error in the Pentium chip
  164. perfmon     Access performance monitor in CMD
  165. perms   Display a user\’s ACL permissions for a file
  166. ping    Test network connection to a computer
  167. popd    Go to the latest path/folder stored by PUSHD command
  168. portqry     Display TCP and UDP port status
  169. powercfg    Used to configure power settings and know battery health
  170. print   Used to print a text file(s) from CMD
  171. printbrm    For backup/recovery/migration of the print queue
  172. prncnfg     Used to configure/rename a printing device
  173. prndrvr     List/add/delete printer drivers
  174. prnjobs     List/pause/resume/cancel print jobs
  175. prnmngr     List/add/delete printers, display/set default printer
  176. prnport     List/create/delete TCP printer ports, display/change port configuration
  177. prnqctl     Clear printer queue, print a test page
  178. procdump    Monitor system for CPU spikes, generate a crash report during a spike
  179. prompt  Used to change the Prompt in CMD
  180. psexec  Run a CMD process on a remote computer
  181. psfile  Display remotely opened files, close an open file
  182. psinfo  List system information about a local/remote machine
  183. pskill  Kill a process(es) using its name or process ID
  184. pslist  Display process status and info about active processes
  185. psloggedon  See active users on machine
  186. psloglist   Display event log records
  187. pspasswd    Used to change account password
  188. psping  Used to measure network performance
  189. psservice   Display and control services on a machine
  190. psshutdown  Shutdown/restart/logoff/lock a local or remote machine
  191. pssuspend   Used to suspend a process on a local or remote computer
  192. pushd   Change current folder and store previous folder for use by POPD
  193. Q
  194. qgrep   Search file(s) for a given string pattern
  195. query process or qprocess   Display information about processes
  196. R
  197. rasdial     Display Remote Access Service Status
  198. rasphone    Manage RAS connections
  199. rcp     Copy files to a computer running remote shell service
  200. recover     Recover readable data from a defective disk
  201. reg     Display/add/change registry keys and values in Windows registry
  202. regedit     Import/export/delete settings from a .reg text file
  203. regsvr32    Used to register/unregister a DLL file
  204. regini  Used to change registry permissions
  205. relog   Export performance counters to other formats like TSV, CSV, SQL
  206. rem     Add comments in batch file
  207. ren     Used to rename a file(s)
  208. replace     Used to replace a file with another file of same name
  209. reset session   Used to reset a remote desktop session
  210. rexec   Run commands on remote machines running Rexec service
  211. rd  Used to delete a folder(s)
  212. rmdir   Used to delete a folder(s)
  213. rmtshare    Manage file and printer shares local or remote servers
  214. robocopy    Used to copy files and folders that have changed
  215. route   Display/change the local IP routing table
  216. rsh     Run commands on remote servers running RSH service
  217. rsm     Manage media resources using Removable storage
  218. runas   Run a program as a different user
  219. rundll32    Used to run a DLL program
  220. S
  221. sc  Use Service Controller to manage Windows services
  222. schtasks    Schedule command(s) to run at a specific time
  223. secedit     Configure system security
  224. set     Display/set/remove environment variables in CMD
  225. setlocal    Control visibility of environment variables in a batch file
  226. setspn  Manage Service Principal Names for an Active Directory service account
  227. setx    Set Environment Variables permanently
  228. sfc     System File Checker
  229. share   List/edit a file share or print on any computer
  230. shellrunas  Used to run a command as a different user
  231. shift   Change the position of the batch parameters in a batch file
  232. shortcut    Create a Windows shortcut
  233. shutdown    Shutdown the computer
  234. sleep   Put computer to sleep for specified number of seconds
  235. slmgr   Software Licensing Management tool for activation and KMS
  236. sort    Used to sort and display a redirected or piped input
  237. start   Start a program, command, or batch file
  238. strings     Find ANSI and UNICODE strings in binary files
  239. subinacl    Display/modify ACEs for file and folder permissions
  240. subst   Associate a path with a drive letter
  241. sysmon  Monitor and log system activity to Windows event log
  242. systeminfo  Display detailed configuration information about the computer
  243. T
  244. takeown     Used to take the ownership of a file
  245. taskkill    Used to terminate on or more running processes
  246. tasklist    Display a list of running apps and services.
  247. tcmsetup    Enable/disable TAPI client
  248. telnet  Communicate with a remote machine using TELNET protocol
  249. tftp    Transfer files to and from a remote machine running TFTP protocol
  250. time    Display/change system time
  251. timeout     Delay a batch file execution for specified seconds
  252. title   Change the text on top of CMD window
  253. touch   Change file timestamps
  254. tracerpt    Process event trace logs and generate trace analysis report
  255. tracert     Trace route to a remote host by sending ICMP request messages
  256. tree    Display a folder structure in the form of a graphical tree
  257. tsdiscon    Terminate a remote desktop connection
  258. tskill  Terminate a running process on a RD Session Host server
  259. tssutdn     Shutdown/reboot a terminal server remotely
  260. type    Show contents of a text file
  261. typeperf    Write performance data to a CMD window or a log file
  262. tzutil  Time Zone Utility
  263. U
  264. unlodctr    Remove performance counter names and explain text for a service from the registry
  265. V
  266. ver     Show version number of installed OS
  267. verify  Verify whether files are saved correctly on the disk
  268. vol     Show disk volume label and serial number
  269. vssadmin    Show shadow copy backups, installed shadow copy writers and providers
  270. W
  271. w32tm   Access Windows Time Service Utility
  272. waitfor     Used to synchronize events between networked computer(s)
  273. wevtutil    Retrieve information about event logs and publishers
  274. where   Find and display file(s) in the current directory
  275. whoami  Display information about the active user
  276. windiff     Compare contents of two files or sets of files
  277. winrm   Windows Remote Management
  278. winrs   Windows Remote Shell
  279. wmic    Windows Management Instrumentation Command
  280. wuauclt     Windows Update Agent to download new update files
  281. X
  282. xcalcs  Change ACLs for files and folders
  283. xcopy   Copy files or directory trees to another folder
  284. ::  Comment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement