Examveda

While working with MS-DOS, which command is used to more file from one directory to another?

A. Rename

B. Copy

C. Move

D. Cp

Answer: Option C

Solution (By Examveda Team)

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.

This Question Belongs to Computer Science >> Disk Operating System (DOS)

Join The Discussion

Related Questions on Disk Operating System (DOS)