Herb and Todd:
Thanks for your suggestions. If I make any changes the compiled program
won't run at all. I have tried both Quick Batch File Compiler and ExeScript
to compile the batch file. They are "consumer level" compilers, but that's
me. This is one of six little free tools I have developed to work with most
photo management programs. Of course I'd like to have them compiled so that
the cmd.exe box doesn't show at all (either resized or minimized), it also
simplifies installation. When I tried Todd's suggestion the program also
failed to execute as either a batch or executable, and for any number of
images. I am suspecting the compilers do not like something which would by
any other (batch command) standard seem correct. So I'm still working on
it...
Thanks again,
"Herb Martin" wrote:
>
> "Mike Lee" <Mike (E-Mail Removed)> wrote in message
> news:49C9B716-AFF9-4F85-ADF3-(E-Mail Removed)...
> > @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 images
> > at a time it won't process anything. I've tried several different
> > compilers
> > and the results are always the same.
>
> Which specific compilers are you using?
>
> Will the compiled batch work if you change the command to merely
> @echo the switches? (Is the problem in the do COMMAND or
> in the FOR..IN..DO loop portion?)
>
> If it works with a simple Echo, will it work for other "exe" command
> besides your graphics program?
>
> > I've tried various changes suggested to me but nothing has worked to
> > eliminate this limitation.
>
>
>
>