The Move Command
Unlike copy, which duplicates data, move relocates it. It is efficient because it doesn't duplicate the data on the disk (unless moving across drives); it just updates the file system pointer. It is also used to rename directories.
Usage:move
[source]
[destination]
[/y]
source
The file or directory to move.
destination
The new location or new name.
/y
Suppresses the prompt to confirm overwriting a file.
Real-World Examples
Move a file to a folder:
Command Prompt
C:\Users\User>move proposal.docx Projects\
Rename a directory (Move trick):
Command Prompt
C:\Users\User>move OldDir NewDir
Knowledge Check
1 / 2Does the move command delete the original file?