|
![](/i/fill.gif) |
On 21 Nov 2001 08:49:55 -0500, Warp wrote:
> Ron Parker <ron### [at] povray org> wrote:
>: Fortunately, cmd.exe (and I think also command.com) support a FOR command
>: that's almost identical to the one in bash.
>
> But at least with command.com there's no way to change the name of the
> file (for the output), so in that case the converter program has to change
> the name automatically (which fortunately most converters do).
But it can append to the existing name. So, for example:
D:\myfiles\POV>for %i in (*.bmp) do copy %i %i.bak
D:\myfiles\POV>copy dispersion.bmp dispersion.bmp.bak
1 file(s) copied.
D:\myfiles\POV>copy disp.bmp disp.bmp.bak
1 file(s) copied.
D:\myfiles\POV>copy sig000.bmp sig000.bmp.bak
1 file(s) copied.
--
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker
Post a reply to this message
|
![](/i/fill.gif) |