>For example I have sales.exe in directory x:\programs\sales\
>And I have created shortcut in user computer with
>"Target": x:\programs\sales\
>and
>"Start In": C:\Sales\
>
>When user runs that executable file CURDIR() will show "C:\Sales\", but how to get path of executable file (i.e. "x:\programs\sales\")?
>
SYS(16,0) fired from the main module shoudl work, unless dealing with a COM object.