POV-Ray : Newsgroups : povray.general : IO restrictions when calling POV-Ray from .Net : Re: IO restrictions when calling POV-Ray from .Net Server Time
26 Apr 2024 16:05:19 EDT (-0400)
  Re: IO restrictions when calling POV-Ray from .Net  
From: Cypherspaceman
Date: 18 Nov 2016 16:40:00
Message: <web.582f746936a5170ce7ad11040@news.povray.org>
Answering my own post:

It seems that the default file path for files written when using the IDE is the
same path as the POV source file.

When calling from .NET, the default file path is the directory containing the
exe.

Just needed to specify a full file path in the #fopen line to fix the issue:
#fopen MyFile "B:\My Pictures\POV\source\depth.txt" write


Post a reply to this message

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