Modify filename on windows XP

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
caglieris_gm
Posts: 1
Joined: 2015-01-13T03:14:14-07:00
Authentication code: 6789

Modify filename on windows XP

Post by caglieris_gm »

I am a Windows XP user.
In order to manipilate multiplies window file, I need to inserte a suffix after filename (before .filetype).
For istance: in
For %%a in (*.jpg) do convert %%a -crop 1700x2700+0+0 .......
where *.jpg are 01.Jpg, 02.Jpg, exc and resulting files (......)
01_a.jpg, 02_a.jpg and so.
How can I do this?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Modify filename on windows XP

Post by snibgo »

%%~na_a.jpg
snibgo's IM pages: im.snibgo.com
Post Reply