webguy22
Member
When executing PHP getcwd() function to get current directory (http://php.net/manual/en/function.getcwd.php), it returns the last folder as Data. For example, running an .exe built by ExeOutput in file structure D:/TEST/PROGRAMS. When executing getcwd(), it returns D:/TEST/PROGRAMS/Data.
Per your documentation when executing your .exe, temp folder “Data” is created (if it does not exist).
So how can I continue to use getcwd() and get the correct current directory?
Obviously I could just PHP strip that Data folder from the end.
Also, saw Main Settings option “Use an absolute path for the virtual “Data” subfolder”. But you can’t chose a relative path?
Per your documentation when executing your .exe, temp folder “Data” is created (if it does not exist).
So how can I continue to use getcwd() and get the correct current directory?
Obviously I could just PHP strip that Data folder from the end.
Also, saw Main Settings option “Use an absolute path for the virtual “Data” subfolder”. But you can’t chose a relative path?
Last edited: