MOVE command

MOVE one or several files to another location.

Synopsis

MOVE [/-Y | /Y] [/R] [/A[:]attributes] source [...] destination

Move one or several files to another location.

Notes

If an error occurs while moving a file, the MOVE command continues moving other file passed through source. Obviously, MOVE returns an error, but this behaviour can lead to mess on file, or even loss of data. For something that need to be bug prof, rather use a combination of COPY and DEL.

Compatibility

Available since version 0.4

Fully compatible with cmd.exe. The /R and /A switches are pBat extension.

See also

DEL and ERASE commands, COPY command