?
While working with MS-DOS, which command is used to more file from one directory to another?
Answer & Solution
Correct Answer:
Option
C
To move a file from one directory to another in MS-DOS, you use the move command. Here’s how each option works:
Option A: Rename is used to rename a file or directory but does not move it to a different directory.
Option B: Copy is used to make a copy of a file or directory, but it does not remove the original file from its current location.
Option C: Move is used to move a file or directory from one location to another within the same drive or to a different drive in MS-DOS.
Option D: Cp is not a valid command in MS-DOS for copying or moving files.
Therefore, Option C is the correct command to move a file from one directory to another while working with MS-DOS.
Option A: Rename is used to rename a file or directory but does not move it to a different directory.
Option B: Copy is used to make a copy of a file or directory, but it does not remove the original file from its current location.
Option C: Move is used to move a file or directory from one location to another within the same drive or to a different drive in MS-DOS.
Option D: Cp is not a valid command in MS-DOS for copying or moving files.
Therefore, Option C is the correct command to move a file from one directory to another while working with MS-DOS.
Join the Discussion
Login to post a comment or share your explanation.
Login