Page 1 of 1

Moving files inside a folder

Posted: 30 Dec 2008 18:15
by BatchFileCommand
I'm making a program called HyperFolder, and I want to be able to move files inside a folder. So here's what I'm doing .

Code: Select all

move /-Y %homedrive%\%homepath%\Desktop\File,... Folder


However it just keeps the file on the desktop

Posted: 04 Jan 2009 17:36
by jeb
Hi BatchFileCommand,

do you get an error message?

Try to quote it, there could be spaces in the path to the Desktop

Code: Select all

move /-Y "%homedrive%\%homepath%\Desktop\File,..." HyperFolder


Hope it helps
jeb