DOS Script with Wildcards (% error) help.
Posted: 2012-03-01T00:40:24-07:00
version: ImageMagick-6.7.5-7-Q16-windows-dll.exe
Can anyone help me out with this DOS script
---
@echo off
for %%a in ("*.png") do call convert %%a -transparent none -resize 50% PNG32:%%a
---
I get error: @error/covert.c/ConvertImageCommand/2353
because the 50% resize argument has a "%" in it.
Is there a way to get around this?
Can anyone help me out with this DOS script
---
@echo off
for %%a in ("*.png") do call convert %%a -transparent none -resize 50% PNG32:%%a
---
I get error: @error/covert.c/ConvertImageCommand/2353
because the 50% resize argument has a "%" in it.
Is there a way to get around this?