Tech Hack

100+ cmd commands and their functions you should know

What is CMD? and what is the actual function of CMD? Here is a collection of the most complete CMD commands and their functions that you can learn.

Are you a Windows PC user? Looking for a set of commands Command Prompt (CMD) which can make it easier to operate the device?

Although currently all the cool features in the Windows operating system can be used directly in mode GUI (Graphical User Interface) that is beautiful, but in fact CMD still cannot be abandoned by its users.

Whether it's to help in the use of basic features, to doing things that are very technical. In fact, not a few of them are looking for CMD commands to hack websites, you know, gang.

Well, talking about the Command Prompt command, in this article Jaka will give you a collection of CMD commands and their functions that you can try. Come on, take a look!

What is Command Prompt?

Photo source: TechnoLog360 (Before learning how to open Command Prompt and its various commands, let's see what CMD is first).

Before discussing further about the set of CMD commands, actually you already know it yet what is command prompt?

Not just an ordinary program that is presented specifically for Windows PC users, the Command Prompt actually has a very important role, you know, gang!

Command Prompt or often also called CMD is basically an application command line interpreter (CLI) which is used to execute commands entered by the user.

That way, you can also gain more control over the operation of the computer through the use of the CMD command code (Command Prompt code) this.

How to Open Command Prompt

To access the Command Prompt itself is actually very easy because this program is installed directly on laptops with Windows OS, either Windows 10, 8, or 7.

So, you don't have to bother looking for a Command Prompt download link on the internet, gang!

Now, regarding how to open the Windows 10, 8, or 7 Command Prompt, you can see the following steps:

Step 1 - Type 'Command Prompt' in Windows search field

  • First, in the Windows search field you type keywords'Command Prompt'.

  • If you have found it, right click on the program and select 'Run as administrator'.

Photo source: JalanTikus (Above is one step on how to open Command Prompt).

Step 2 - Command Prompt has been successfully opened

  • If you have done the above steps, then the Command Prompt has been successfully opened. Here is a display of CMD.

In addition to Windows search, there is also an alternative way to open the Command Prompt which is much easier, gang, by using keyboard shortcuts.

You just need to press the button Win+R on the keyboard, then type "CMD" (without quotes). Then, press OK.

So, now you understand how to open CMD? If you have, now is the time for you to see the collection of CMD commands and their functions below!

Collection of CMD Commands and Their Functions

After knowing what CMD is and also how to open it, then Jaka will also give you a collection of CMD commands and their functions that you can try yourself, gang.

Want to know anything? Come on, see the full list below!

1. List of CMD Commands For WiFi Networks

Photo source: Masahen (Want to try to hack someone's network? You'd better study the list of CMD commands for WiFi networks below).

Can't find a special command prompt hack that can help you break into WiFi or even hack someone's laptop/PC?

Basically, there is no CMD command for any hack that is intentionally designed for users to do illegal things, gang.

However, if you want to learn about network management via CMD yourself, you can check out the list of CMD commands for the most frequently used WiFi networks below.

CMD commandFunction
pingChecking network connection
tracertTrace route to a remote host
pathpingProvides latency and packet loss info for each node on the network path
ipconfig/allDisplay connection configuration
ipconfig/displaydnsDisplay DNS cache content
ipconfig/flushdnsClearing cached DNS content
ipconfig/releaseRelease all configuration
ipconfig/renewUpdating all connections
ipconfig/registerdnsRefresh DHCP & re-register DNS
ipconfig/showclassidDisplay DHCP Class ID
ipconfig/setclassidModify DHCP Class ID
getmacDisplays the MAC address of the user's network adapter
nslookupChecking the IP address on the Name Server
netstatDisplays active TCP/IP connections
netstat -anoFind out if your computer is being used by someone else or find out what you are doing
net viewDisplays the names of devices connected to your WiFi with their respective PC names
arp -aInfo of devices connected to WiFi with IP address, MAC and also dynamic or static type
netsh wlan show profilesDisplays all WiFi networks that the device has ever connected to
netsh wlan show profile name="WiFi name" key=clearDisplays detailed WiFi network information including the password

2. List of Basic CMD Commands

In addition to CMD commands for WiFi networks, there are also various basic CMD commands that you should learn to become more proficient at operating computers, gang.

Well, for those of you who don't understand the Command Prompt function, Jaka has also given a brief explanation of its functions which you can see below.

CMD commandFunction
assocView and change file extension name associations
attribView, set, or delete attributes read-only, archive, system, and hidden attached to a file or folder
CDDisplay the folder name (directory) or change the directory location/position
chdirHas the same function as the cd command
chkdskChecks and displays disk status reports by file system
chkntfsChecking the NTFS file system
copyCopying files from one location (directory) to another
colorChange text color in Command Prompt
convertConverting a FAT partition to NTFS
dateView and change the date
defragDo defragmentation
delDeleting files and inserting into recycle bin
deltreeDeleting files permanently (not logged into recycle bin)
dirView a list of files and sub-directories in a directory
diskpartManage hard drives on your computer or laptop
addCreate a new partition
assignAssign letters to the new partition
deleteDeleting a partition
detailsView information about the selected partition
driverqueryDisplays a list of drivers installed on your computer or laptop
exitExit Command Prompt or close the process batch script in progress
findSearching for specific text in a file
logoffStopping a session user certain from a computer or laptop
moveMove one or more files to another directory
msgSend messages to other users on a local computer network
printPrinting a text file from the Command Prompt
pauseStop the file batch in progress
renameRename files and directories

Other CMD Commands Alphabetically

Still haven't found a cool CMD command you can try? If that's the case, it's better if you look at the list of other CMD commands in alphabetical order, gang!

A

CMD commandFunction
addusersAdd and list users in a CSV file
atExecute command at specific time
admodcmdChange content in bulk in active directory
arpMapping IP addresses to hardware addresses
associateOne step file association
assocView and change file extension name associations
attribView, set, or delete attributes read-only, archive, system, and hidden attached to a file or folder
CDDisplay the folder name (directory) or change the directory location/position

B

CMD commandFunction
bcdbootCreate and repair system partition
bcdeditmanage boot configuration data
bitsadminManage Background Smart Transfer Service
bootcfgEditing boot configuration in Windows
breakThe CTRL+C key combination cannot be used to stop the MS-DOS process

C

CMD commandFunction
caclsChange file permissions
csvdeImport or Export data from active directory
cscmdConfigure offline files on client computers
cprofileCleans the specified profile of wasted space and disables specific user file associations
coreinfoShow mappings between logical and physical processors
copycopy files from one location (directory) to another
colorChange text color in Command Prompt
convertConverting a FAT partition to NTFS
compressCompress one or more files
compactCompress files and folders on an NTFS partition
compCompare the contents of two files or two sets of files
cmstpInstall or remove the connection manager service profile
cmdkeyManage saved usernames and passwords
cmdStarting a new CMD shell
clsClean CMD screen
clipCopy the result of each command (stdin) to the Windows clipboard
cleanmgrUse clean temp files and recycle junk automatically
cipherEncrypt/decrypt files and folders
choiceAccept user input (via keyboard) to batch file
chkntfsChecking the NTFS file system
chcpDisplays the number of active console code pages

D

CMD commandFunction
dateView and change the date
defragDo defragmentation
delDeleting files and inserting into recycle bin
deltreeDeleting files permanently (not logged into recycle bin)
delprofDelete user profile
devconAccess command line device manager utility
dsmgmtManage Active Directory Lightweight Directory Services
dsrmRemove object from active directory
dsmoveRename or move Active Directory objects
dsmodModify objects in active directory
dsqueryFind objects in active directory
dsgetView objects in active directory
dsaddAdding objects to active directory
dsaclsView and edit access control entries for objects in Active Directory
driverqueryDisplays a list of installed device drivers
doskeyEdit command line, recall commands, and create macros
discussionView used space in folder(s)
disk shadowAccess Disk Shadow Copy Service
diskpartMake changes to storage partitions, both internal and connected
diskcopyCopy data from one floppy disk to another
diskcompCompare the contents of two floppy disks
diruseShow disk usage
dirquotaManage File Server Manager Resource quota
dirDisplays a list of files and folders

E

CMD commandFunction
eraseDelete one or more files
endlocalEnd of localization environment changes in batch files
echoEnable or disable command-echoing feature, display message on screen
exitExit command line (Exit current batch script)
extractUncompress one or more Windows cabinet files
expandUncompress one or more .CAB files
explorerOpen Windows Explorer
eventtriggersView and configure event triggers on local and remote machines
eventcreateAdd custom event to Windows event log (Admin rights required)
eventquerryShow a list of events and their properties from the event log

F

CMD commandFunction
ftypeShow/Change file extension type association
fsutilFile system utility for managing file and drive properties
formatFormat disc
forRun command in loop for file for specified parameter
fingerShow information about the user on the specified remote computer
findSearching for a specific text string in a file
ftpUse an FTP service to transfer files from one PC to another
free diskChecking free space on disk
forfilesPEnable/disable temporary folder
findstrFinding string patterns in files
fcCompare two files

G

CMD commandFunction
graftablEnable the ability to display additional characters in graphics mode
gpresultShow Group Policy Settings and Result Policy Sets for users
getmacDisplays the MAC address of the user's network adapter
gpupdateUpdate local and active directory based on group policy settings
gotoDirects batch programs to channels identified by labels

H

CMD commandFunction
hostnameDisplay computer hostname
helpDisplay a list of commands and view online information for them

I

CMD commandFunction
inuseReplace the file currently in use by the OS (needs to be restarted)
ipseccmdConfigure IP Security policy
irftpSending files via infrared link (infrared function required)
ifConditional processing in batch programs
icaclsChange file and folder permissions
ipxrouteView and modify routing table information used by IP protocol
ipconfigView and change IP configuration
ifmemberDisplays groups that are active users
iexpressCreate a self-extracting zip archive

J

There is no CMD command.

K

There is no CMD command.

L

CMD commandFunction
logoffStopping a session user certain from a computer or laptop
lpqDisplaying the status of the print queue
labelEdit disk label
localShow membership of local groups
logmanManage performance log monitor
lprsend files to a computer running the Line Printer Daemon service
logtimeDisplay date and time log in file

M

CMD commandFunction
mstscMaking connections remote desktop
msinfo32Display system information
msiexecInstall, modify, configure using Windows Installer
msgSend messages to other users on a local computer network
moveMove one or more files to another directory
moveuserMoving user accounts to a domain or between machines
mountvolCreate, register, or delete a volume mount point
moreShow one screen output at the same time
makecabCreate a .CAB . file
macfileManage file servers for Mackintosh
mungeFind and Replace text in files

N

CMD commandFunction
netManage network resources
netdomDomain Manager
netsh wlan show profilesDisplays all WiFi networks that the device has ever connected to
netsh wlan show profile name="WiFi name" key=clearDisplays detailed WiFi network information including the password
nbstatShow network statistics (NetBIOS over TCP/IP)
nslookupChecking the IP address on the Name Server
netstatDisplays active TCP/IP connections
nowCurrent display Date and Time
ntrightsEdit user account rights

O

There is no CMD command.

P

CMD commandFunction
pathDisplays or sets the search path for executable files
pathpingProvides latency and packet loss info for each node on the network path
pauseStop the file batch in progress|
permsShow permissions for users
performanceMonitor performance
powercfgConfiguring power settings
printPrinting a text file from the Command Prompt
pauseStop the file batch in progress
prnmgrAdd, remove, printer list set default printer
promptChanging the command prompt
psinfoList of information about the system
pskillProcess kills by name or process ID
pslistList of detailed information about processes
pspasswdChange account password
psserviceView and manage services
pushdSave and then change directory now

Q

CMD commandFunction
qgrepSearch files for lines that match a specific pattern
qprocessDisplay information about the process

R

CMD commandFunction
regRead, set, export, delete keys and values
recoverRepair corrupted files from damaged disk
regeditImport or export registry settings
reginiChange Registry Permissions
renRename a file or files
replaceReplace or update one file with another
rdDelete folder
rmtshareShare folder or printer\
routeManipulating network routing tables
runasRun the program under a different user account

S

CMD commandFunction
scService control
schtasksSchedule commands to run at specific times
sclistShow NT Layanan Services
setlocalControlling environment variable visibility
setxSet environment variables permanently
shareRegister or edit file share or share print
shiftShift position replaced parameter in a batch file
shutdownComputer shutdown
sleepPut the computer in sleep mode for a certain number of seconds
systeminfoDisplays detailed configuration information about computer devices

T

CMD commandFunction
tasklistRegister to run applications and services
taskkillDelete running process from memory
timeDisplay or set system time
timeoutDelayed processing of a batch file
titleSetting the window title for the cmd.exe session
treefolder structure graphic display
typeDisplay the contents of a text file
tracert|Trace route to a remote host

U

CMD commandFunction
usrstatRegister domain username and last login

V

CMD commandFunction
verShow installed OS version number
volShow disk volume label and serial number
vssadminShow shadow backup copy, install shadow copy writer and provider
verifyVerify if files are properly stored on disk

W

CMD commandFunction
waitforUsed to synchronize events between networked computers
wevtutilGet information about event logs and publishers
whereFind and display files in current directory
whoamiShow information about active users
windiffCompare the contents of two files or sets of files
winrmWindows Remote Management
wuaucltWindows Update Agent to download new update files

X

CMD commandFunction
xcalcsChange ACLs for files and folders
xcopyCopy files or directory tree to another folder

Y

There is no CMD command.

Z

There is no CMD command.

Well, that was a collection of CMD commands and their functions that Jaka managed to collect for you, gang.

Starting from basic CMD commands to CMD commands for WiFi networks, Jaka has explained everything in detail so that you will understand more when using it.

Meanwhile, for those of you who are looking for CMD commands to hack websites and so on, you better learn through Jaka's article about "7 Ways Hackers Hack WiFi Passwords". Good luck!

Also read articles about Out Of Tech or other interesting articles from Shelda Audita

$config[zx-auto] not found$config[zx-overlay] not found