POV-Ray : Newsgroups : povray.animations : how to remove number from outputed file name : Re: how to remove number from outputed file name Server Time
6 Oct 2024 09:38:46 EDT (-0400)
  Re: how to remove number from outputed file name  
From:
Date: 25 Jul 2002 09:11:22
Message: <frtvjusiat1um64m2gfg5oup9bf2jdqfj2@4ax.com>
On Thu, 25 Jul 2002 14:59:04 +0200, "Philippe Lhoste" <Phi### [at] GMXnet> wrote:
> I would write:
> Post_Frame_Command=cmd.exe /q /c ren "70 - 'functions.inc'\10 - internal
> functions\bonus10.bmp" "70 - 'functions.inc'\10 - internal
> functions\f_comma().bmp"
> instead. I am not sure cmd.exe needs to quote the command, it takes
> everything after the options as its command.
> Or so I think, I haven't tested this. :-P

IIRC I tried such version and it refused to execute somehow. I don't remember
details becouse I tried so many version. Finally with help of Vahur Krouverk
(in povray.off-topic) I found solution ready for long names and broken
renderings:

Pre_Frame_Command=cmd.exe /q /c "for %%d in (70-'FU~1.INC\10-INT~1\bonus*.bmp
  70-'FU~1.INC\10-INT~1\f_kummer_surface_v1*.bmp) do del %%d" 
Post_Frame_Command=cmd.exe /q /c "move 70-'FU~1.INC\10-INT~1\bonus*.bmp 
  70-'FU~1.INC\10-INT~1\f_kummer_surface_v1().bmp" 

I hope it will work under win95/98 (except command instead cmd).

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.