Final Flashcards
When writing a batch file, What can you start a line with to comment-out?
begin line with :: or REM
When writing a batch file, which switch can be added to the SET command to create a variable and prompt the user for information?
/p
In a batch file SET my_name=logan would do what?
Assign a value of “logan” to the variable “my_name” without prompting the user.
whats the difference between the wscript and cscript commands?
wscript opens a new window for vbscript
cscript runs the vbscript inside the CLI
What tool will allow you to run VBScripts, JScript, and other scripts natively within Windows by clicking a script file on the Windows desktop, or by typing the name of a script file at the command line?
The Windows Script Host
The Windows _____________________________________ utility automatically backs up files and stored them on the hard drive at regular intervals and just before you install software or hardware.
System Protection.
If run, what would the following command attempt to accomplish?
shutdown /r /m \cupid /t 120
Reboot a computer on the network named “cupid” after a 2 minute delay.
What command would simply re-create the root directory and file allocation table on the Z: drive, without reading or writing to any other part of a disk?
format z: /q
/q = quick format
__________________________ is the primary tool for managing hard drives in Windows 7.
Disk Management.
How many times larger should your page file be than the amount of installed RAM
3x’s
Each time a user logs into Windows, the contents of the _________________________ file are copied to a location in the registry.
NTUSER.dat
located in c:\users\USER folder.
What type of HDD should not be defragged?
Solid state.
What feature can be used to clone one machine’s software configuration across many machines.
Winndows Backup’s System Image
A windows system image must be created on what?
Internal/External HDD.
What percent of hard drive space must be available for windows to work correctly?
15%
If run in an elevated command prompt widow, what would the following command accomplish?
chkdsk C: /R
It would inform you that the volume is in use by other processes and then ask if you would like to schedule the volume to be checked the next time the system is restarted.
What is the name of the file that windows uses to enhance the amount of RAM?
pagefile.sys
Where is the backup of the registry located?
c:\Windows\system32\config\regback