Windows Commands Flashcards
View all environment variables
set
Set and environment variable
setx variable value (admin mode)
Print specific variables
echo %VAR%
Shutdown
shutdown /s /t 10
/s = shutdown
/t xxx = time-out period before shutdown
/r = shutdown and restart
Current command path
path
Detailed config info about computer and OS
system info
Help
/?
Open explorer
explorer
Open calculator
calc
Microsoft Managment Console
mmc
Create connections in remote servers and computers
mstsc
Network Connection properties administration
ncpa.cpl
Internet Properties control
inetcpl.cpl
Mouse Properties control
main.cpl
Sound Properties control
mmsys.cpl
System Properties control
sysdm.cpl
Display Properties control
desk.cpl
Add/Remove Programs control
appwiz.cpl
Change Drive
c:
d:
Make Directories
mkdir “Name”
Rename Directories
ren “currentName” “newName”
Verifies IP-level connectivity to another TCP/IP computer
ping “IP”
Test Port Connection
Test-NetConnection “HOST” -Port “PORT”
Display all current TCP/IP configurations
ipconfig