Which command be used to ask you to confirm that you want to delete the directory?
A. Deltree
B. Deltree/f
C. Del *.*/p
D. Erase *.*
Answer: Option C
Solution (By Examveda Team)
In Disk Operating System (DOS), the command used to ask for confirmation before deleting files is Option C: Del ./p. The "/p" switch prompts the user to confirm each deletion before proceeding, ensuring that files are not deleted accidentally.Option A, "Deltree," deletes directories and their contents recursively but does not prompt for confirmation in standard DOS commands.
Option B, "Deltree /f," is not a valid switch for prompting confirmation in DOS commands.
Option D, "Erase .," is used to delete all files without prompting for confirmation.
Therefore, the correct answer is Option C: Del ./p.
Related Questions on Disk Operating System (DOS)
In MS-Dos what command you will use to display system date?
A. Date command
B. Ver command
C. Disk command
D. Format command
While working with Ms-Dos which command transfers a specific file from one disk to another?
A. Copy
B. Diskcopy
C. Time
D. Rename
If you don't know the current time, which command will you use to display
A. Copy
B. Ver
C. Time
D. Format

Join The Discussion