Move or rename files and directories. In PowerShell, this command is an alias of
Move-Item
. This documentation is based on the Command Prompt (cmd
) version ofmove
. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/move.
tldr move-item
move path\to\source path\to\target
move path\to\source path\to\existing_directory
move C:\path\to\source D:\path\to\target
move /Y path\to\source path\to\existing_directory
move /-Y path\to\source path\to\existing_directory