Moving files inside a folder

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
BatchFileCommand
Posts: 3
Joined: 30 Dec 2008 16:50
Location: Minnesota

Moving files inside a folder

#1 Post by BatchFileCommand » 30 Dec 2008 18:15

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

jeb
Expert
Posts: 1041
Joined: 30 Aug 2007 08:05
Location: Germany, Bochum

#2 Post by jeb » 04 Jan 2009 17:36

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

Post Reply