CMD Commands Flashcards
(45 cards)
1
Q
dir
A
Displays a list of files and sub-directories in a directory
2
Q
Displays a list of files and sub-directories in a directory
A
dir
3
Q
cd (chdir)
A
Change Directory Focus
4
Q
Change Directory Focus
A
cd (chdir)
5
Q
md (mkdir)
A
Make Directory
6
Q
Make Directory
A
md (mkdir)
7
Q
rd (rmdir)
A
Remove Directory
8
Q
Remove Directory
A
rd (rmdir)
9
Q
attrib
A
Displays or changes file attributes
10
Q
Displays or changes file attributes
A
attrib
11
Q
attrib +
A
Add an attribute
12
Q
Add an attribute
A
attrib +
13
Q
attrib -
A
Remove an attribute
14
Q
Remove an attribute
A
attrib -
15
Q
A attribute
A
Archive
16
Q
Archive
A
A attribute
17
Q
R attribute
A
read-only
18
Q
read-only
A
R attribute
19
Q
H attribute
A
Hidden
20
Q
Hidden
A
H attribute
21
Q
S attribute
A
System
22
Q
System
A
S attribute
23
Q
ren
A
Rename File
24
Q
Rename File
A
ren
25
sfc
System File Checker
26
System File Checker
sfc
27
Windows network commands
NET
28
Windows utility for querying NetBIOS over TCP/IP information
nbstat
29
List local NetBIOS names
nbstat -n
30
List remote NetBIOS names, referenced by IP Address
nbstat -A
31
List remote NetBIOS names, referenced by name
nbstat -a
32
Network statistics
netstat
33
Show all active connections
netstat -a
34
Show binaries
netstat -b
35
Do not resolve names
Reomves the names of foreign addresses and replaces it with the IPs
netstat -n
36
Fixes errors on the disk
chkdsk /f
37
Locates bad sectors and recovers readable information
chkdsk /r
38
Robust Copy
robocopy
39
Copies files and directory trees
xcopy
40
Copies files, directory trees, and sub directories
xcopy /s
41
Delete file from a directory or disk
del or erase
42
Copy file from a directory or disk
copy
43
Copy indicates an ASCII text file
copy /a
44
Copy verifies that new files are written
copy /v
45
Copy that suppresses prompting to confirm that you want to overwrite an existing destination file
copy /y