ExecPFF doesn't understand relative Paths
Posted: November 3rd, 2011, 2:55 pm
It seems that ExecPFF does not understand relative paths.
I tried:
execpff("..\..\folder\file.xtb.pff");
execpff("..\\..\\folder\\file.xtb.pff");
execpff("../../folder/file.xtb.pff");
execsystem('C:\Program Files (x86)\CSPro 4.1\runpff.exe "..\..\folder\file.xtb.pff"');
None of them work.
However, providing the absolute path works:
execpff("C:\mydata\biz\trading\folder\file.xtb.pff");
What can i do? I need to be able to use a relative path...
Thanks
I tried:
execpff("..\..\folder\file.xtb.pff");
execpff("..\\..\\folder\\file.xtb.pff");
execpff("../../folder/file.xtb.pff");
execsystem('C:\Program Files (x86)\CSPro 4.1\runpff.exe "..\..\folder\file.xtb.pff"');
None of them work.
However, providing the absolute path works:
execpff("C:\mydata\biz\trading\folder\file.xtb.pff");
What can i do? I need to be able to use a relative path...
Thanks