1.

Solve : Batch File, moves only jpg?

Answer»

Hello all.
Been COMING to this site for YEARS for answers.

I do a lot of 4chan surfing an even have an auto download tool (beware it CARES less what it grabs lol)

so I have alot of mix file types I'd like a bat to send to their own folders.
I'm  using win7 (netbook)

I thought this would work for sure

echo on
move *.JPG C:\Users\******\Documents\Batch Testing 2\File Sort testing
pause

I'm getting " Cannot move multiple files to a single file "

I had a FEELING to try another drive so I plugged my flashdrive in an it worked fine.

does the C drive stop such ?
Try This


move *.JPG C:\Users\******\Documents\"Batch Testing 2"\"File Sort testing"\*.* Quote

C:\Users\******\Documents\Batch Testing 2\File Sort testing

Does this folder actually exist?
Quote from: Salmon Trout on September 23, 2010, 03:44:25 PM
Does this folder actually exist?


Yeah, the ***** is my name so I did that

Quote from: mat123 on September 23, 2010, 03:22:01 PM
Try This


move *.JPG C:\Users\******\Documents\"Batch Testing 2"\"File Sort testing"\*.*
nope. got this

C:\Users\******\Documents\Batch Testing 2\File Sort testing>move *.JPG C:\
Users\*******\Documents\"Batch Testing 2"\"File Sort testing"\*.*
The syntax of the command is incorrect.

C:\******\Documents\Batch Testing 2\File Sort testing>pause
Press any key to continue . . .The quotes need to go around the whole path

Code: [SELECT]move *.JPG "C:\Users\******\Documents\Batch Testing 2\File Sort testing"
this should do it
Graham Quote from: gpl on September 24, 2010, 12:32:52 AM
The quotes need to go around the whole path

Code: [Select]move *.JPG "C:\Users\******\Documents\Batch Testing 2\File Sort testing"
this should do it
Graham

Success
When I was added the path for the source it " syntax of the command is incorrect."
however when I ran it in the source folder it works fine.


Discussion

No Comment Found