Tutorials

CMD (COMMANDS)

A - G COMMANDS

 
Command Explanation from PNG
ADDUSERS View, add, or remove users for a CSV File
Admodcmd Bulk modify an active directory
ARP Display and change the Mac address to IP tables
ASSOC View and alter file extention application associations
ASSOCIAT One step- assign a file extention with an application
AT Schedule a command to have it run at a particular time
ATTRIB View and alter file attributes (system, hidden, etc…)
BCDBOOT Set up or repair a partition- use /(volume letter) to specify
BCDEDIT Edit and manage boot configuration data
BITSADMIN B.I.T.S- Copy large files between machines (Windows Update)
BOOTCFG Edit your OS boot settings and options
BROWSTAT View and configure browser operations; view domain and PDC info
CACLS Display and modify file and folder permissions
CALL Call a batch program or subroutine from a batch program
CD Change/move to specific directory (folder/drive)
CERTREQ Request a certifcate from a certification authority
CERTUTIL Certification authority utility
CHANGE Change a terminal server to a mode (install mode) for the session
CHKDSK Check Disk - to check and repair add /f to the command
CHKNTFS Check file system (CHKDSK)- add /c to schedule for next boot
CHOICE Accept single key press capture to a batch file
CIPHER Display encryption info, Encrypt or Decrypt (NTFS only)
CLEARMEM Clear system memory (leaks)
CLIP Copy command result to clipboard (like copy)
CLS Clear Screen
CLUSTER Windows Clustering (NLB and failover clustering)
CMD Open a new cmd window
CMDKEY View, edit, or delete stored credentials
COLOR Change default cmd window colors
COMP Compare two files (or file sets)- display differences
COMPACT Compress file or folders (NTFS only)
COMPRESS Compress individual files (NTFS only)
CON2PRT Printer- connect, disconnect, or specify default
CONVERT Convert to NTSF drive (from FAT drive)
COPY Copy file(s) to a destination (add /b to copy in binary mode)
CSCcmd Configure offline caching of network files
CSVDE Active Directory data- Import or Export as CSV file
CleanMgr Cleanup temp files, caches, and recycle bin
Coreinfo View the logical/physical processor mapping employed by the machine
DATE View/change data and time
DEFRAG Defragment drive or volume
DEL Delete file(s) or folder(s)
DELPROF Delete remote or local user profiles
DELTREE Delete a system tree (folder and it's contents), or multiple files
DIR Display a directory (files and subfolders)
DIRQUOTA View resource manager disk quotas for the file server
DIRUSE View disk usage
DISKPART View/Delete/Create disk partitions
DISKSHADOW Volume Shadow Copy Service- create read-only volume copies
DISKUSE Display the disk usage (free space)
DNSSTAT Display DNS stats
DOSKEY Recall and edit commands; Create macros
DSACLs View and edit Active Directory ACLs
DSAdd Add an item to the active directory
DSGet Display contents of active directory
DSMod Modify object in active directory
DSMove Rename or remove an object in the active directory
DSQuery Search for item in active directory
DSRM Delete items from active directory
Devcon Powerful device manager
DriverQuery Display list of installed drivers and info
Dsmgmt Directory service management
ECHO Displaying Messages- Turn on, turn off, view status
ENDLOCAL Reverses SETLOCAL command (restores original state)
ERASE Delete file(s) or folder(s)
EVENTCREATE Windows event log- add message
EXIT Quit CMD and quit current processes
EXPAND Uncompress compressed (.zip) files
EXPLORER Open 'Windows Explorer'
EXTRACT EXPAND for CAB files
FC Compare files' contents- display differences
FIND Search for and display a text string in a file
FINDSTR Search for and display text strings in files
FOR Loop command: conditional comand several times
FOR /F Loop command: conditionally perform a command for a set of files
FORFILES Batch execute a command on multiple files
FORMAT Format a disk to be Windows usable
FREEDISK View free disk space (bytes)
FSUTIL Management utilities for FAT and NTFS
FTP File Transfer Protocol
FTYPE View or edit file type/application associations
GETMAC View MAC address and properties
GLOBAL Display membership of remote groups and domains
GOTO Tell a batch program to go a line
GPRESULT View Resultant Set of Policy info for a remote computer
GPUPDATE Apply new/changed Group Policy settings