CMD Commands Flashcards
dir
Displays a list of files and sub-directories in a directory
Displays a list of files and sub-directories in a directory
dir
cd (chdir)
Change Directory Focus
Change Directory Focus
cd (chdir)
md (mkdir)
Make Directory
Make Directory
md (mkdir)
rd (rmdir)
Remove Directory
Remove Directory
rd (rmdir)
attrib
Displays or changes file attributes
Displays or changes file attributes
attrib
attrib +
Add an attribute
Add an attribute
attrib +
attrib -
Remove an attribute
Remove an attribute
attrib -
A attribute
Archive
Archive
A attribute
R attribute
read-only
read-only
R attribute
H attribute
Hidden
Hidden
H attribute
S attribute
System
System
S attribute
ren
Rename File
Rename File
ren
sfc
System File Checker
System File Checker
sfc
Windows network commands
NET
Windows utility for querying NetBIOS over TCP/IP information
nbstat
List local NetBIOS names
nbstat -n
List remote NetBIOS names, referenced by IP Address
nbstat -A
List remote NetBIOS names, referenced by name
nbstat -a
Network statistics
netstat
Show all active connections
netstat -a
Show binaries
netstat -b
Do not resolve names
Reomves the names of foreign addresses and replaces it with the IPs
netstat -n
Fixes errors on the disk
chkdsk /f
Locates bad sectors and recovers readable information
chkdsk /r
Robust Copy
robocopy
Copies files and directory trees
xcopy
Copies files, directory trees, and sub directories
xcopy /s
Delete file from a directory or disk
del or erase
Copy file from a directory or disk
copy
Copy indicates an ASCII text file
copy /a
Copy verifies that new files are written
copy /v
Copy that suppresses prompting to confirm that you want to overwrite an existing destination file
copy /y