Ah, I see. But, you know...
I did unearth something a bit odd, though. I compiled the following code and dragged the resulting exe to the startup folder, creating a shortcut...
...and both values came out correct (when it auto-ran). Unless different Windows releases operate differently I don't see where the path error can be coming from.
If Upper(SystemProperty("appdir"))="C:\PROGRAM FILES\BLITZ3D\BIN" Then RUNFROMIDE=True
I did unearth something a bit odd, though. I compiled the following code and dragged the resulting exe to the startup folder, creating a shortcut...
Print "Current Dir: "+CurrentDir$() Print "App Dir : "+SystemProperty("appdir") WaitKey
...and both values came out correct (when it auto-ran). Unless different Windows releases operate differently I don't see where the path error can be coming from.