POV-Ray : Newsgroups : povray.general : Custom output filenames : Re: Custom output filenames Server Time
18 Nov 2025 05:48:54 EST (-0500)
  Re: Custom output filenames  
From: jr
Date: 18 Nov 2025 03:10:00
Message: <web.691c28deb2f6a36a475fba6a6cde94f1@news.povray.org>
hi,

"stevenvh" <nomail@nomail> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > "jr" <cre### [at] gmailcom> wrote:
> > > ...
> > > 'Post_Scene_Command' option will help.
> >
> > sorry, 'Post_Frame_Command' is what I meant.
> > ...
> Current issue:
> when I add the line
>
>     Post_Scene_Command = c:RenumberPOVrayFiles.exe %s
>
> nothing happens, my program doesn't run. Is my understanding of
> "Post_Scene_Command" wrong?

by default "we" are not allowed to run shell commands, to avoid a potential
security issue.  in your global 'povray.conf' file, the "[Shellout Security]"
must be enabled / "allowed"; it is a good idea, generally, to tune the global
..conf and .ini files as part of "post installation".


> Also, the"%s" in the command is just the filename without the path. I need that
> path in my program (I have a select folder command there), which I hoped to
> automate.

I've not tried, but can you not write:  post_frame_command = sh myscript
path/to/%s

?

regards, jr.


Post a reply to this message

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