Posted: Tue Aug 06, 2002 10:47 pm
Restored from previous forum. Originally posted by PB.
Would it please be possible that when using RunProgram that the editor can run
the app by searching the normal Windows paths? At the moment, running this code
results in a "File not found" error in the editor, because no absolute path has
been specified... meaning that I have to compile to an exe just to test the code:
RunProgram("calc.exe","",0) ; File not found!
See what I mean? I don't want to add the absolute path because then it won't
work on all versions of Windows (C:\Windows, C:\WinNT, etc)....
PB - Registered PureBasic Coder
Would it please be possible that when using RunProgram that the editor can run
the app by searching the normal Windows paths? At the moment, running this code
results in a "File not found" error in the editor, because no absolute path has
been specified... meaning that I have to compile to an exe just to test the code:
RunProgram("calc.exe","",0) ; File not found!
See what I mean? I don't want to add the absolute path because then it won't
work on all versions of Windows (C:\Windows, C:\WinNT, etc)....
PB - Registered PureBasic Coder