Difficulty: Easy
Correct Answer: MOVE
Explanation:
Introduction / Context:
Relocating files between directories is a routine administrative task. While copying duplicates data, moving transfers the file to a new path and removes the original, saving space and keeping a single, authoritative copy.
Given Data / Assumptions:
Concept / Approach:
The MOVE command changes a file’s directory entry to the target location, performing a rename across paths (and physically copying then deleting if required across volumes). COPY leaves the original in place; RENAME changes the name within the same directory only. CP is a UNIX command, not DOS.
Step-by-Step Solution:
Verification / Alternative check:
Attempting the same operation with RENAME across directories fails, confirming that MOVE is required for cross-directory relocation.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting to include a trailing backslash on the destination directory or omitting quotes when paths contain spaces in later DOS shells.
Final Answer:
MOVE
Discussion & Comments