ExamVeda
Login
Home
Disk Operating System (DOS)
?

Which command be used to ask you to confirm that you want to delete the directory?

Answer & Solution
Correct Answer: Option C
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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.