Hmmmm, I thought I must have tried that though. I ended up with a
"sample%02d.tga" (0 being the padded digit[?] and 2 being a double digit
set of image frames for example) and all works fine.
Here's my super simplistic batch:
@echo off
cd mpg_util\avi2mpg
cls
echo.
echo Busy...
echo.
cmpeg -v0 -t0 -f2 ipb.ctl c:\povanim\create\%1d.tga %2.mpg
echo.
dir %2.mpg
cd \
And I just enter MPG IMAGES%02 ANIMATE on the command line replacing the
counted digits with %02 (example).
I'm going to check using the double percent as you said.
Matt Giwer wrote:
>
> Finally remembering what I forget about DOS batch files, the
> example of execution with the input images to be sample%d.tga in
> a .bat file gets the error message, can't find sampled.tga. But
> of course it works from the command line.
>
> The problem is that batch files use % also. To make it work from
> a batch file the format is 2 % as in sample%%d.tga and then it
> works from a batch file.
>
> Get away from DOS for a few years and you forget everything. :(
>
> --
> <blink>-------please--don't-----------------</blink>
>
> http://www.giwersworld.org/artii/
> http://www.giwersworld.org/artiii/
>
> Finally up on 99/06/22 updated 06/30
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto://inversez@aol.com?Subject=PoV-News
Post a reply to this message
|