🤖 Dit zijn de meestgebruikte CMD commando’s voor Windows-systemen
Wat is CMD?
CMD is een acroniem voor Commando. Opdrachtprompt, of CMD, is de opdrachtregelinterpreter van Windows-besturingssystemen. Het is vergelijkbaar met Command.com dat wordt gebruikt in DOS genaamd “MS-DOS Prompt”.
Opdrachtprompt maakt gebruik van de opdrachtregelinterface om met de gebruiker te communiceren. In het Windows-besturingssysteem wordt deze opdrachtpromptinterface geïmplementeerd via de Win32-console.
In deze blog kan je de meestgebruikte en populaire CMD commando’s voor Windows-systemen terugvinden.
CMD opstarten in Windows
De gebruiker kan de interface openen via de opdracht CMD run of door naar de oorspronkelijke locatie C:\Windows\system32\cmd.exe te gaan.
Of je kan drukken op Windowstoets+R en vervolgens CMD indrukken.
De meestgebruikte CMD-commando’s
call | calls a batch file from another one |
cd | change directory |
cls | clear screen |
cmd | start command prompt |
color | change console color |
date | show/set date |
dir | list directory content |
echo | text output |
exit | exits the command prompt or a batch file |
find | find files |
hostname | display host name |
pause | pauses the execution of a batch file and shows a message |
runas | start a program as another user |
shutdown | shutdown the computer |
sort | sort the screen output |
start | start an own window to execute a program or command |
taskkill | terminate a process or a application |
tasklist | display applications and related tasks |
time | display/edit the system time |
timeout | wait any time |
title | set title for prompt |
ver | display operating system version |
w32tm | setting time synchronisation/time server/time zone |
Netwerk CMD commands
ftp | transfer files to a FTP server |
ftype | display file type and mapping |
getmac | display MAC address |
ipconfig | display IP network settings |
netsh | configure/control/display network components |
netstat | display TCP/IP connections and status |
nslookup | query the DNS |
pathping | test the connection to a specific IP address |
ping | pings the network |
route | display network routing table, add static routes |
systeminfo | displays computer-specific properties and configurations |
telnet | establish Telnet connection |
tftp | transfer files to a TFTP server |
tracert | trace routes similar to patchping |
Bestanden CMD commando’s
attrib | display file attributes |
comp | compare file contents |
compact | display/change file compression |
copy / xcopy | copy files |
diskcomp | compare content of two floppy disks |
diskcopy | copy floppy disc to another one |
erase / del | delete one or more files |
expand | extract files |
fc | copare files and display the differences |
mkdir | create a new directory |
move | move/rename files |
rename | rename files |
replace | replace files |
rmdir / rd | delete directory |
tree | display folder structure graphically |
type | display content of text files |
Media commando’s
chkdsk | check volumes |
chkntfs | display/change volume check at startup |
defrag | defragment media |
diskpart | volume management |
driverquery | display installed devices and their properties |
format | format volumes |
label | change volume name |
mode | configure interfaces/devices |
mountvol | assign/delete drive mountpoints |
verify | monitoring whether volumes are written correctly |
vol | show volume description and serial numbers of the HDDs |
Lees ook
Beheer Microsoft Office 365 met PowerShell — Startersgids
Hoe Azure AD preview module installeren met PowerShell?
Hoe een Windows 11-pc afsluiten, opnieuw opstarten of in hibernate zetten
Hoe kan u de nieuwe Exchange Online PowerShell V2 module installeren?
Hoe inloggen met Multi-factor Authentication op de Exchange Online PowerShell module?