POV-Ray : Newsgroups : povray.general : Custom output filenames : Re: Custom output filenames Server Time
2 Dec 2025 21:47:14 EST (-0500)
  Re: Custom output filenames  
From: stevenvh
Date: 29 Nov 2025 12:30:00
Message: <web.692b2ca9b2f6a36a59ef05b15b085d4@news.povray.org>
"stevenvh" <nomail@nomail> wrote:
> "stevenvh" <nomail@nomail> wrote:
>
> > 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?
> > 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.
> >

FYI, I found that execution of external programs is disabled by default. You can
enable it in "Options" -> "Script I/O restrictions" and uncheck "Disable
starting other programs". Now

    Post_Scene_Command = c:RenumberPOVrayFiles.exe %s

indeed runs my program, but the parameter %s is still not recognized.


Post a reply to this message

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