Windows Commands Flashcards
help
Provides information on available commands
/?
another version of help to provide specific info on a given command
dir
Lists the files and directories
cd / chdir
Change the working directory
use \ to specify the volume or folder name
..
move to the folder above the current folder
md / mkdir
Make a directory
rd / rmdir
Remove directory
hostname
View the name of the device
format
Formats a disk for use with Windows
copy (/v & /y)
copy files from one location to another
/v - verifies the new files are written correctly
/y - suppresses prompting to confirm you want to overwrite and existing destination file
xcopy
Copies files and directory trees
Robocopy
a better xcopy
gpupdate
Force a Group Policy update
gpresult
Verify policy settings for a computer or user
shutdown (/s /t nn) (/r /t nn) (/a)
shutdown a computer
wait nn seconds then shutdown
shutdown and restart after nn seconds
abort the countdown