Windows Commands Flashcards

1
Q

View all environment variables

A

set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Set and environment variable

A

setx variable value (admin mode)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Print specific variables

A

echo %VAR%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Shutdown

A

shutdown /s /t 10

/s = shutdown
/t xxx = time-out period before shutdown
/r = shutdown and restart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Current command path

A

path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Detailed config info about computer and OS

A

system info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Help

A

/?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Open explorer

A

explorer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Open calculator

A

calc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Microsoft Managment Console

A

mmc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Create connections in remote servers and computers

A

mstsc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Network Connection properties administration

A

ncpa.cpl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Internet Properties control

A

inetcpl.cpl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Mouse Properties control

A

main.cpl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Sound Properties control

A

mmsys.cpl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

System Properties control

17
Q

Display Properties control

18
Q

Add/Remove Programs control

A

appwiz.cpl

19
Q

Change Drive

20
Q

Make Directories

A

mkdir “Name”

21
Q

Rename Directories

A

ren “currentName” “newName”

22
Q

Verifies IP-level connectivity to another TCP/IP computer

A

ping “IP”

23
Q

Test Port Connection

A

Test-NetConnection “HOST” -Port “PORT”

24
Q

Display all current TCP/IP configurations

25
Display Route Details
netstat -rn
26
Display Hostname from IP
nbtstat -a "IP_ADDRESS"
27
Display MAC Address
getmac
28
Display entries in the ARP cache
arp -a
29
Deletes entries in the ARP cache
arp -d
30
Displays active TCP connections
netstat -an
31
Displays Users Account Information
net user
32
Lists all directories inside of current directory
ls (thats an L btw, think 'List')
33
Displays current working directory
pwd
34
Changes working directory
cd
35
Changes working directory to the one directly above the current working directory
cd ..
36
Changes working directory through several directories
cd path/path/path
37
Changes working directory up through several directories
cd ../../..