The folder the program was run from

Blitz3D Forums/Blitz3D Programming/The folder the program was run from

nawi(Posted 2006) [#1]
SystemProperty("appdir") does not work properly, and I need similar function.


big10p(Posted 2006) [#2]
It does work but is only useful for final build exes. When you run code in the IDE, the temp exe isn't placed in the same dir as the source file/s, so it appears not to work correctly.


Gabriel(Posted 2006) [#3]
I think you're not supposed to need this any more. Apparently an update changed things so that the current directory when the program begins is automagically set to the correct folder. I guess this was done so that you don't have to maintain some kind of debug/release compile for the reason that Big10P outlined.


fredborg(Posted 2006) [#4]
This is handy: http://www.blitzbasic.com/codearcs/codearcs.php?code=1276