This is a draft cheat sheet. It is a work in progress and is not finished yet.
Directory Operation
md or mkdir |
|
Creates a directory |
del |
|
Delete files in subdirectory |
rd or rmdir |
|
Delete folder |
rd or rmdir |
|
Delete not empty folder |
rename or ren |
|
rename files |
dir |
|
Display folders or files start with a |
TREE |
|
Graphically display directory structure |
COPY |
|
copy file |
XCOPY |
xcopy src_file des_file /e /i
|
copy folder include empty folder |
Copy con |
|
create file and edit |
del /s
: delete specific file from all subdirectories
rd /s
: delete a folder and everything in it
tree /f
: display include file
xcopy src_file des_file /e /i
: /e is for copy even empty folder
xcopy src_file des_file /s /i
: /s is for copy only not empty folder
System
VER |
|
display windows version |
TIME |
|
display and change time |
DATE |
|
display and change date |
|