How do I do a Batch "Save As", copy overwrite or similar operation

dobbz

Limp Gawd
Joined
Sep 4, 2002
Messages
339
I'm doing some graphics work for a small game and I'm at a point where I've got a million different images in a directory that I need to be changed to one certain image (a blank PNG) while preserving the filenames.

1. Photoshop CS has a Batch operation that I thought I could use to perform a cut/delete within all the images but it's only got a few preset effects that I don't need. And Save As only lets me do one file at a time.

2. I tried a command prompt thing with copy c:\blah\image.png c:\blah\etc\*.* but that just copies the file over. Xcopy does the same and Move doesn't work.

Anything else I can try? Is there some third party file manager I can use to do this?
 
need to make a few changes to this with paths etc but it should work for ya. Just stick it in a batch file and go.
Code:
for %%i in ("path\to\directory\with\images\*.png") do copy "c:\mypng.png" %%i


NOTE: Backup your stuff before you try this. I take *NO* responsibility if this fux0rs your computer etc...
 
Back
Top