File Navigation
System Information
Wildcards
Redirection
Permissions & Attributes
100

List files in the current directory

dir

100

Display computer name

hostname


100

List all .txt files

dir *.txt

100

Save output to a file

>

100

Display file attributes

attrib

200

Change to the parent directory

cd ..

200

View IP configuration

ipconfig

200

Delete all .tmp files

del *.tmp

200

Append output to a file

>>

200

Make a file read-only

attrib +r filename.txt

300

Create a folder named Reports

mkdir Reports

300

Show Windows version

ver

300

List all files starting with "log"

dir log*

300

Read file input into a command 

<

300

Remove the hidden attribute

attrib -h filename.txt

400

Copy files to another location

copy

400

Display all running processes with their process IDs

tasklist

400

Copy all .bat files to a folder called Backup

copy *.bat c:\Backup

400

Combine output from two commands

|

400

Show which users and groups have permissions to access a file or folder

icacls filename.txt

500

Delete a folder and all contents

rmdir /s

500

List OS details and hotfixes

systeminfo

500

Move all .jpg and .png files

mpve *.jpg *.png Images

500

Save systeminfo to info.txt

systeminfo > info.txt

500

Change file ownership

takeown /f filename.txt

M
e
n
u