keywords:
Bookmark and Share



Front Back
cd
Change Directory

Ex:
cd Desktop 
cd ..
cd "Progrm Files"
Tab
Autocomplete
dir
List Directory
dir /a
List Directory All
(with hidden folders and files)
cls
Clear Screen
dir *.png
List Only .png Files
↑↓
Command History
AnyCommand + /?
Help for that Command
mkdir
Make Directory

Ex:
mkdir Bacon
rmdir
Remove Directory
(if it's empty)

Ex:
rmdir Bacon
rmdir /s
Remove Directory
(with all its content)

Ex:
rmdir /s Bacon
Home
Go to Beginning of Command
End
Go to End of Command
path
Windows Environment Variable PATH
D:
Go to Drive D
wmic logicaldisk get name
List All Drives
tree
Tree of Folder Content
color
Change Color of Text and Background

Ex:
color 02
attrib
List Files with Attributes

Ex:
attrib
attrib +r bacon.txt (add attribute)
attrib -r bacon.txt (delete attribute)
echo lalala > bacon.txt
Rewrite Content of File bacon.txt with "lalala"
(create bacon.txt if it doesn't exist)
echo tunafish >> bacon.txt
Append "tunafish" to Content of File bacon.txt 

(create bacon.txt if it doesn't exist)
del
Delete File

Ex:
del bacon.txt
type
Type Content of File on Screen

Ex:
type bacon.txt
copy
Copy File

Ex:
copy bucky.txt TestFolder
xcopy
Advanced Copy

Ex:
xcopy Apples Bacon (the content of Apples goes into Bacon)

xcopy Apples Bacon /s (the same as previous but with subfolders included)
move
Move File (Directory)

Ex:
move bacon.txt Apples
rename
Rename File (Directory)

Ex:
rename Bacon Hem
x of y cards