Difficulty: Medium
Correct Answer: None of the above
Explanation:
Introduction / Context:
Deleting directories in DOS often requires care to avoid accidental data loss. The DELTREE
command removes a directory tree, and DOS normally asks for confirmation. There is a specific switch to bypass that prompt, which technicians used in scripts or automated maintenance tasks.
Given Data / Assumptions:
Concept / Approach:
In DOS, the correct syntax to suppress confirmation is DELTREE /Y
. The /Y
switch answers "yes" to all prompts automatically. None of the provided options include /Y
. DELTREE
alone still prompts. DELTREE/F
is not a standard switch. DEL .
and ERASE .
affect files, not directories recursively, and still may prompt depending on settings.
Step-by-Step Solution:
Verification / Alternative check:
Microsoft DOS reference confirms /Y
as the non-interactive switch for DELTREE. No official /F
switch exists for this command in standard MS-DOS.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
None of the above.
Discussion & Comments