|
![](/i/fill.gif) |
Thanks, that's what I've been doing, using the "%s" string substitution. I
was hoping there was a more direct way.
Ron Parker <ron### [at] povray org> wrote in message
news:38282bf0@news.povray.org...
> On Tue, 9 Nov 1999 00:01:25 -0500, Bill DeWitt wrote:
> >Next question, is there anyway to get the name of the file that is being
> >parsed and #declare it as a text string to be read in that file? So that
I
> >can lable my images with the file name without having to type it in
> >everytime I render an incremented file name?
>
> You could certainly put it in the same file you're putting the time in.
> If you make it an argument to the batch file, you can output it to the
> file and run the script without having to type it twice, e.g.:
>
> @echo off
> echo " > gottime.txt
> echo | more | time | find "Current" >> gottime.txt
> echo "; >> gottime.txt
> echo " >> gottime.txt
> echo %1 >>gottime.txt
> echo "; >>gottime.txt
> c:\progra~1\pov-ra~1.1\bin\pvengine.exe /render %1
> exit
>
> The original version of this batch file doesn't work on NT, by the
> way, so I haven't been able to test it.
>
>
> --
> These are my opinions. I do NOT speak for the POV-Team.
> The superpatch: http://www2.fwi.com/~parkerr/superpatch/
> My other stuff: http://www2.fwi.com/~parkerr/traces.html
>
Post a reply to this message
|
![](/i/fill.gif) |