Move command

April 23, 2009 at 08:50:34
Specs: Windows XP
I'm looking to have a batch file move a file to another folder; it's the folder one level above the current location, if that matters. I've looked it up, but every solution I try gives a "The syntax of the command is incorrect." I'm currently using:

move C:\Documents and Settings\Rob23\Desktop\test2 C:\Documents and Settings\Rob23

I've tried using just move test2 then the destination, as it's on the desktop which is where the file is being executed from, but I still am getting the incorrect syntax command. I'm running Windows XP; any advice would be helpful and appreciated

See More: Move command

Report •

April 23, 2009 at 09:02:52
move "C:\Documents and Settings\Rob23\Desktop\test2" "C:\Documents and Settings\Rob23"

Report •

April 23, 2009 at 10:34:47
Ah, thank you! I never found this mentioned, but it works.

Report •

Related Solutions

Ask Question