Command Prompt Flashcards

1
Q

What does ‘CD’ mean?

A

Change Directory - Changes directory to the specified path.

ex: CD JohnnyFolder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does ‘MD’ mean?

A

Make Directory - Creates a folder in the current directory.

ex: MD JohnnyFolder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does ‘RD’ mean?

A

Remove Directory - Removes the specified directory.

ex: RD JohnnyFolder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

‘C:’ performs what process?

A

‘C:’ Jumps to the root folder of the C: drive. The C can be replaced with other drive letters.

ex: D:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you delete a file by name?

A

Navigate to the directory and type del to delete the file.

ex: del johnnyfile.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you delete files based on extensions?

A

Del *.jpg will delete all files in the directory that have the .jpg extension.

ex: del *.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

/help vs /?

A

/Help shows you commands.

/? shows the switches for the posted command.

ex: Format /?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SFC /Scanfile

A

Scanfile Scans a file that you specify and fixes problems if they are found.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SFC /Scannow

A

Immediately scans all protected system files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SFC /VerifyOnly

A

Scans protected system files and does not make any repairs or changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SFC /VerifyFile

A

Identifies the integrity of the file specified, and makes any changes and repairs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

SFC /OFFBOOTDIR

A

Repairs an offline boot directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

SFC /OFFFWINDIR

A

Repairs an offline windows directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Format Switches; Name 3.

A

/FS: Specifies the type of file system to use (FAT, FAT32, or NTFS)
ex: /FS:NTFS

/V: Specifies the new volume label.
ex: /V:HDD2

/Q: Executes a quick format.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What string would I type to format a harddrive in NTFS with the name Star Drive?

A

FORMAT D: /FS:NTFS /V:Star Drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Chkdsk?

A

Windows utility to scan and repair filesystem problems and disk errors.