List of Useful CMD Commands - Part 1 | HackThatCORE

Useful CMD Commands - Part 1 | HackThatCORE

List of Useful CMD Commands - Part 1 | HackThatCORE


Iframe Injection

Image Source: Lifewire


Hello Friends, Today I have complete list of all the useful command of CMD i.e., Command Prompt. I have divided it into three parts. Here's the Part 1 of it.
First of all, Command Prompt, also known as cmd.exe or cmd, is the command-line interpreter on Windows NT, Windows CE, OS/2 and eComStation operating systems. You can use various commands to operate certain operations on cmd.





      A

    • addusers => Used to add and list users in a CSV file.
    • admodcmd => Used for bulk modifying contents in an active directory.
    • arp => Address Resolution Protocol is used to map IP address to the hardware address.
    • assoc => Used to change associations for file extensions.
    • associat => One step file association.
    • at => Run a command at a specific time.
    • atmadm => Display connection info of the ATM adapter.
    • attrib => Used to change file attributes.

      B

    • bcdboot => Used to create and repair a system partition.
    • bcdedit => Used to manage boot configuration data.
    • bitsadmin => Used to manage the Background Intelligent Transfer Service.
    • bootcfg => Used to edit boot configuration in Windows.
    • break => Enable/Disable break capability (ctrl + C) in CMD.

      C

    • cacls => Used to change permisssions of files.
    • call => Used one batch program to call another.
    • certreq => Used to request a certificate from a certification authority.
    • certutil => Manage Certification Authority files and services.
    • cd => Used to change folder (directory) or go to a specific one.
    • change => Used to change a terminal services.
    • chcp => Displays the number of active console code page.
    • chdir => It is same as cd command.
    • chkdsk => Used to check and repair issues in the disk.
    • chkntfs => Used to check the NTFS file system.
    • choice => Accept user input (via keyboard) to a batch file.
    • cipher => Used to encrypt/decrypt files and folders.
    • cleanmgr => Used to clean temp files and recycle bin automatically.
    • clip => Copy result of any command (stdin) to Windows clipboard.
    • cls => Clear CMD screen.
    • cmd => Used to start a new cmd shell.
    • cmdkey => Used to manage stored usernames and passwords.
    • cmstp => Used to install or remove a connection manager service profile.
    • color => Change the color of the CMD using shell options.
    • comp => Compare contents of two files or two set of files.
    • compact => Compress files and folders on an NTFS partition.
    • compress => Compress one or more files
    • convert => Convert a FAT partition to NTFS partition.
    • copy => Copy one or more files to one another.
    • coreinfo => Show the mapping between logical and physical processors.
    • cprofile => Cleans specified profiles of wasted space and disabled user-specific file associations.
    • cscmd => Configure offline files on a client computer.
    • csvde => Inport or Export the data of an active directory.

      D

    • date => Used to display the date or change it.
    • defrag => Used to defragment system hard drive.
    • del => Used to delete a file.
    • delprof => Used to delete user profiles.
    • deltree => Used to delete a folder and its sub-folders.
    • devcon => Access the command line device manager utility.
    • dir => Used to display files and folders list.
    • dirquota => Manage File Server Resource Manager quotas.
    • diruse => Used to display disk usage.
    • diskcomp => Compare contents of two floppy disks.
    • diskcopy => Copy data of one floppy disk to another.
    • diskpart => Make changes to partitions of storage, both internal and connected.
    • diskshadow => Access the Disk Shadow Copy Service.
    • diskuse => View used space in folder.
    • doskey => Used to edit command line, recall commands, and create macros.
    • driverquery => Display a list of installed device drivers.
    • dsacls => View and edit access control entries for objects in active directory.
    • dsadd => Used to add objects to active directory.
    • dsget => View objects in active directory.
    • dsquery => Find objects in an active directory.
    • dsmod => Used to modify objects in an active directory.
    • dsmove => Rename or move an active directory object.
    • dsrm => Remove objects from an active directory.
    • dsmgmt => Manage Active Directory Lightweight Directory Services.

      E

    • echo => Turn command-echoing feature on/off, display a message on the screen.
    • endlocal => End localization environment changes in a batch file.
    • erase => Used to delete one or more files.
    • eventcreate => Add custom event to Windows event log (Admin right required).
    • eventquerry => Display list of events and their properties from event logs.
    • eventtriggers => Display and configure event triggers on local and remote machines.
    • exit => Exit the command line (Quit current batch script).
    • expand => Uncompress one or more .CAB files.
    • explorer => Open Windows Explorer.
    • extract => Uncompress one or more Windows cabinet files.

      F

    • fc => Used to compare two files.
    • find => Used to search a specified text string in a file.
    • findstr => Used to search a specified text string in a file.
    • finger => Display information about user on a specified remote computer.
    • flattemp => Used to enable/disable flat temporary folders.
    • For => Run a command in a loop for a file for defined parameter.
    • forfiles => Used for batch processing of selected file.
    • format => Used to format a disk.
    • freedisk => Used to check free space on a disk.
    • fsutil => File system utility to manage file and drive properties.
    • ftp => Use FTP service to transfer files from one PC to another.
    • ftype => Display/Modify file extension type associations.

      G

    • getmac => Used to display the MAC address of your network adapter.
    • goto => Used to direct a batch program to a line identified by a label.
    • gpresult => Display Group Policy Settings and Resultant Set of Policy for a user.
    • gpupdate => Update local and active directory based on group policy settings.
    • graftabl => Turn on the ability to display an extended character in graphics mode.

    • continued...

Comments

Popular Posts