SYS(5)+SYS(2003) or SYS(16,1) - both of these should do, I'm not 100% certain that both will be absolutely correct.
>To identify the start directory for my application I've been using
>sys(5) + curdir(). Throughout my testing this appeared to function exactly as I expected. I loaded the application on a client's pc and when we accessed the .exe from a desktop shortcut - curdir() did not return the directory name that contained the exe that the shortcut called. The client had several open windows and the curdir() would return the directory name of one of the open windows. If I double clicked on the executable from explorer, it did return the appropriate directory name. My client runs NT. I run windows 95 and I can't duplicate it on my pc...
>
>Am I missing something? Is there a better way to determine the starting directory for my application?