f:\i>move foo bar dir
The syntax of the command is incorrect
help move says:
MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination
This seems to imply multiple arguments. So how can I give multiple arguments to move?
f:\i>move foo bar dir
The syntax of the command is incorrect
help move says:
MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination
This seems to imply multiple arguments. So how can I give multiple arguments to move?
From the command line:
for %i in (foo bar) do @move %i dir
Or, in a cmd file (since the use of %
variables is slightly different there):
for %%i in (foo bar) do @move %%i dir
if you have the privilege to download stuffs, you can use GNU coreutils,
c:test> mv foo bar destination
To pass multiple files to the move command as the first argument, separate them with commas:
move foo,bar dir
That's why there's a comma in the help:
MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination