>? >How determine strartup folder inside app started from Command Window: > :\\My.app
You can find the starting directory (the directory active at the time the application starts up) with FULLPATH(CURDIR()). You need to do this before you do any CD or SET DEFAULT TO
You can find the path of the executable with SYS(16,0); you'll need to strip the program name from the path returned.