Move (command)
move is a shell command for renaming and moving files and directories. The command is in various shells including COMMAND.COM, Command Prompt, 4DOS/4NT. In PowerShell, is a predefined command alias for the Move-Item Cmdlet which serves the same essential purpose. The command is available in various operating systems including DOS, OS/2, Windows and ReactOS. On MS-DOS, the command is available in versions 6 and later. The FreeDOS version was developed by Joe Cosentino. DR DOS 6.0 includes an implementation of the command. The open-source MS-DOS emulator DOSBox has no MOVE command. Instead, the REN command can be used to move files. The command is analogous to the Unix-based mv command and to the OpenVOS move_file and move_dir commands.
move is a shell command for renaming and moving files and directories. The command is in various shells including COMMAND.COM, Command Prompt, 4DOS/4NT. In PowerShell, is a predefined command alias for the Move-Item Cmdlet which serves the same essential purpose. The command is available in various operating systems including DOS, OS/2, Windows and ReactOS. On MS-DOS, the command is available in versions 6 and later. The FreeDOS version was developed by Joe Cosentino. DR DOS 6.0 includes an implementation of the command. The open-source MS-DOS emulator DOSBox has no MOVE command. Instead, the REN command can be used to move files. The command is analogous to the Unix-based mv command and to the OpenVOS move_file and move_dir commands. ==Options== /y Suppress prompting to confirm overwriting an existing destination file /-y Prompt to confirm overwriting an existing destination file By default, the command prompts to overwrite unless executed in a batch script. The default can be modified by including the /y option in the COPYCMD environment variable. Then, that can be overridden via the /-y command-line option. ==Examples== The following command renames a file or directory to if is not an existing directory. If it is an existing directory, then is moved into and is then at path . > move foo bar ==See also== List of DOS commands List of POSIX commands ==References== ==Further reading== ==External links== move | Microsoft Docs
References
No reference rows published for this article.
Cite this article
MLA
"Move (command)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/move-command. Accessed 24 November 2026.
Chicago
"Move (command)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/move-command.
APA
encyclopegia.org. (2026). Move (command). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/move-command
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON