The folder the program was run from

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

SystemProperty("appdir") does not work properly, and I need similar function.

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.

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.

This is handy: http://www.blitzbasic.com/codearcs/codearcs.php?code=1276