Windows Command lines Tools Flashcards
> help dir
help chkdsk
or [command] /?
when you’re not sure or need help
dir
List files and directories
cd / chdir
Change working directory
– Use backslash \ to specify volume or folder name
md / mkdir
– Make a directory
*rd / rmdir
– Remove directory
hostname
View the name of the device
rd / rmdir
– Remove directory
hostname
View the name of the device
– This is very useful when there are 10 different
terminal screen tabs in use
format
Formats a disk for use with Windows
*format c:
xcopy
Copies files and directory trees
xcopy /s Documents m:\backups
copy (/v, /y)
Copy files from one location to another
/v - Verifies that new files are written correctly
/y - Suppresses prompting to confirm you want to
overwrite an existing destination file
robocopy
A better Xcopy
gpupdate
– gpupdate /target:{computer|user} /
force
– gpupdate /target:professor /force
Force a Group Policy update
gpresult
– Verify policy settings for a computer or user
shutdown
Shutdown a computer