Re: Compiled batch file won't execute properly
- From: "Todd Vargo" <tlvargo@xxxxxxxxxxxxxx>
- Date: Sat, 27 Jan 2007 01:32:19 -0500
"Todd Vargo" <tlvargo@xxxxxxxxxxxxxx> wrote in message
news:uOIT1qNQHHA.468@xxxxxxxxxxxxxxxxxxxxxxx
"Mike Lee" <Mike Lee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in messageimages
news:49C9B716-AFF9-4F85-ADF3-EC4DF8E02D04@xxxxxxxxxxxxxxxx
@echo off
for %%i in (%*) do exifiron -R -E -b %%i
The file is designed to rotate jpeg images using the program exifiron.
Anyway, the batch file will process an unlimited number of images at one
time, but when I compile the file into an executable it will only
process a maximum of two images. If I try to feed it more than two
at a time it won't process anything. I've tried several differentcompilers
and the results are always the same.
I've tried various changes suggested to me but nothing has worked to
eliminate this limitation.
Any help would be much appreciated.
Why compile the batch?
Anyway, have you tried shifting in a loop?
@echo off
:loop
if "%1"=="" goto :end
exifiron -R -E -b %1
shift
goto :loop
:end
Let's try this again. Does this one work? If not, try the VBScript in my
other post.
@echo off
:loop
if (%1)==() goto :end
exifiron -R -E -b %1
shift
goto :loop
:end
--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)
.
- References:
- Re: Compiled batch file won't execute properly
- From: Todd Vargo
- Re: Compiled batch file won't execute properly
- Prev by Date: Re: Compiled batch file won't execute properly
- Next by Date: Batch files from any file name?
- Previous by thread: Re: Compiled batch file won't execute properly
- Next by thread: batch file halts
- Index(es):
Relevant Pages
|