Friday, 21 June 2013

List of Windows CMD Commands (Part 1)

CMD Commands starting with alphabet A - 
 ADDUSERS : Add or list users to/from a CSV file
 ADmodcmd : Active Directory Bulk Modify
 ARP      : Address Resolution Protocol
 ASSOC    : Change file extension associations.
 ASSOCIAT : One step file association
 AT       : Schedule a command to run at specific time
 ATTRIB   : Change file attributes

CMD Commands starting with alphabet B -
 BCDBOOT  : Create or repair a system partition
 BCDEDIT  : Manage Boot Configuration Data
 BITSADMIN: Background Intelligent Transfer Service
 BOOTCFG  : Edit Windows boot settings
 BROWSTAT : Get domain, browser and PDC info
CMD Commands starting with alphabet C -
 CACLS    : Change file permissions
 CALL     : Call one batch program from another.
 CERTREQ  : Request certificate from certification                             authority
 CERTUTIL : Utility for certification authority files                          and services
 CD       : Change Directory- move to specific Folder.
 CHANGE   : Change Terminal Server Session properties
 CHKDSK   : Check Disk- check and repair disk problems
 CHKNTFS  : Check the NTFS file system
 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
 CMDKEY   : Manage stored usernames/passwords
 COLOR    : Change colors of the CMD window.
 COMP     : Compare the contents of two files or sets                          of files
 COMPACT  : Compress files or folders on an NTFS                               partition
 COMPRESS : Compress individual files on an NTFS                               partition
 CON2PRT  : Connect or disconnect a Printer
 CONVERT  : Convert a FAT drive to NTFS
 COPY     : Copy one, more files to another location.
 CSCcmd   : Client-side caching (Offline Files)
 CSVDE    : Import or Export Active Directory data 

CMD Commands starting with alphabet D -
 DATE     : Display or set the date.
 DEFRAG   : Defragment hard drive
 DEL      : Delete one or more files
 DELPROF  : Delete user profiles
 DELTREE  : Delete a folder and all subfolders
 DevCon   : Device Manager Command Line Utility 
 DIR      : Display a list of files and folders.
 DIRUSE   : Display disk usage
 DISKPART :Disk Administration
 DISKSHADOW : Volume Shadow Copy Service
 DNSSTAT  : DNS Statistics
 DOSKEY   : Edit command line, recall commands, and                            create macros
 DriverQuery : Display installed device drivers
 DSACLs   : Active Directory ACLs
 DSAdd    : Add items to active directory (user group                            computer) 
 DSGet    :View items in active directory (user group                           computer)
 DSQuery  : Search for items in active directory(user                            group computer)
 DSMod    : Modify items in active directory (user                               group computer)
 DSMove   : Move an Active directory Object
 DSRM     : Remove items from Active Directory
 CMD Commands starting with alphabet E-
 ECHO     : Display message on screen.
 ENDLOCAL : End localisation of environment changes in                           a batch file.
 ERASE    : Delete one or more files.
 EVENTCREATE : Add a message to the Windows event log
 EXIT     : Quit the current script/routine and set an                           error level.
 EXPAND   : Uncompress files
 EXTRACT  : Uncompress CAB files
CMD Commands starting with alphabet F -
FC : Compare two files FIND : Search for a text string in a file FINDSTR : Search for strings in files FOR /F : Loop command: against a set of files. FOR /F : Loop command: against the results of another command. FOR : Loop command: all options Files, Directory, List. FORFILES : Batch process multiple files FORMAT : Format a disk FREEDISK : Check free disk space (in bytes) FSUTIL : File and Volume utilities FTP : File Transfer Protocol FTYPE : File extension file type associations.
CMD Commands starting with alphabet G -
GETMAC : Display the Media Access Control (MAC) address GLOBAL : Display membership of global groups GOTO : Direct a batch program to jump to a labelled line. GPRESULT : Display Resultant Set of Policy information GPUPDATE : Update Group Policy settings
CMD Commands starting with alphabet H -
HELP : Online Help
CMD Commands starting with alphabet I -
iCACLS : Change file and folder permissions IF : Conditionally perform a command. IFMEMBER : Is the current user a member of a Workgroup IPCONFIG : Configure IP
CMD Commands starting with alphabet K -
KILL : Remove a program from memory
CMD Commands starting with alphabet L -
LABEL : Edit a disk label LOCAL : Display membership of local groups LOGEVENT : Write text to the event viewer LOGMAN : Manage Performance Monitor LOGOFF : Log a user off LOGTIME : Log the date and time in a file
CMD Commands starting with alphabet M -
MAPISEND : Send email from the command line MBSAcli : Baseline Security Analyzer MEM : Display memory usage MD : Create new folders. MKLINK : Create a symbolic link (linkd). MODE : Configure a system device MORE : Display output, one screen at a time MOUNTVOL : Manage a volume mount point MOVE : Move files from one folder to another MOVEUSER : Move a user from one domain to another MSG : Send a message MSIEXEC : Microsoft Windows Installer MSINFO32 : System Information MSTSC : Terminal Server Connection (Remote Desktop Protocol) MV : Copy in-use files

Commands marked • are Internal commands only available within the CMD shell.
All other commands (not marked with •) are external commands.
ExteCrnal commands may be used under the CMD shell, PowerShell, or directly from START-RUN.



  1. I am learning ethical hacking skills i have heard about doing hacking through command prompt but never tried . Thanks for sharing these easy steps .

    Silvester Norman

    Change Mac Address

    1. Yep bro, you can learn hacking through cmd commands..!
      Always welcome... :)

    2. How i can do that please tell?

      Silvester Norman

      Change Mac Address

    3. First you can give it a try by using different cmd commands as mentioned above on your windows OS to get an idea 'bou their working, just open command prompt as administrator from (OS installed Drive i.e. C:\ drive in most cases-> Windows->system32->cmd)... :)
      Which Windows OS are you using bro so that I can help you..?