Managing Files Flashcards
What does the /a switch used with the copy command indicate?
That the files is an ASCII text file
Which command lets you delete subdirectories in addition to files in the current directory
- rd/s
- rd/f
- rd/q
- rd/a
rd/s
Which command would you use to copy all files in a directory, including all sub directories (as well as empty ones)
- copy/v
- xcopy/e
- xcopy/s
- copy/n
xcopy/e
A user needs to copy a file from an NTFS partition to a FAT32 partition. The file has NTFS permissions and the following attributes: Read only (R) and Encryption. When the folder is copied, which of the following is true?
- None of the NTFS permissions or attributes are retained on the file
- The R and encryption attribute are retained on the file
- The R attribute is retailed on the file
- The attributes and NTFS permissions are retained not the file
- Only the NTFS permissions are retained on the file
-The R attribute is retailed on the file
Which of the following file extension types can be run from the command prompt? (select three)
- .bat
- .exe
- .com
- .dil
- .sys
.bat
.exe
.com
You are working at the command line and want to add the Read-only attribute to a file and remove the Hidden attribute. Which command would you use
- attrib +r -h
- attrib add r remove H
- attrib +ro -h
- attrib /add r /remove /h
-attrib +r -h
How can you see a list of valid switches for the CD command?
- Type cd | more
- Type cd help
- Type cd list
- Type cd /?
-Type cd /?
Which file attribute identifies as having been modified since the last backup?
Archive
What does the /q switch with the rd command do?
- Reverse a drive deletion
- Will not prompt you to confirm deletions
- Runs a query
- Removes subdirectories in addition to files in the current directory
-Will not prompt you to confirm deletions
Which of the following file extensions indicates a Windows system file
.com
.vxd
.dil
.rtf
.vdx
.dil
You have a file which you would like others to use, but not modify. Which file attribute should you use?
R
What does the following command do? attrib +s +r -a myfile.dil
Adds the systems file attribute, adds read only attribute, and removes the Archive attribute to the file myfile.dil
Which of the following extensions identifies a program packaged for use by windows installer?
.msi
Which command would you use to change the current directory to the immediate parent directory
cd..
You want to set the encryption attribute for the C:\payrol.xls file. What should you do?
Edit the properties of the file in windows explorer