03 Flashcards
What does the prompt command do? And what are its options $p and $g
Creates a new command prompt
$p specifies the working directory
$g makes it so the > is the arrow instead, using them together which make the current working directory followed by > the command prompt
What is the dir command and it’s option \t \a: \s CAW
Lists files and subdirectories, \t gives you the time field of the directory and CAW
C when the directory was created
A when the directory was last accessed
W when the directory was last modifie
/a: gives you files/directories with specified attributes
/s displays all files and sub diretories
Attrib
Displays or changes files attributes
What option do you use to not prompt for date/time change when giving using the date command?
/t
What command do you use to check the version of windows?
ver
What is the | command used for?
passes the output of one command to the input iof another
How do you create a text file without using gui?
copy con
How do you display the contents of a file without using guiu?
type
What option in the find command ignores case when searching for a specified string?
\i
What command is used to delete directories and what’s used to delete files?
rmdir, del
What command recalls windows commands?
What do each of these options do? >»_space;
doskey
> overwrites the file
» appends/adds to the end of a file
what command copys directories/trees and what oprion allows you to copy EVERYTHING
xcopy /e
What command modifies ACLS for directories and files, what are its options?
CACLS,
/e edits ACL instead of replacing it
/g grants specified user access (if used without /e overwrites ACL)
/p replaces specified user access