Page 1 of 1

Rename file using part of existing name

Posted: 2009-12-03T10:14:30-07:00
by Kris.Mitchell
First - Thanks for the amazing tool. Quickly and easily solved an IT problem for no cost and for that I am greatful!

Second,
I have a file name acbde.#.ai.ps

where # can be any number, and ai and .ps are standard for each file.

When I run the script

Code: Select all

FOR %a in (*.ai.ps) DO convert -density 288 %a +matte -resize 50% %a.jpg
I get *.ai.ps.jpg

Is there a way to get *.jpg?

I think I am missing something with the dos command + some setting in IM.

Thanks for the help!

-Kris