>Hello, it's me again :-).
>
>Thanks for your previous help, it was very, well, helpful :-).
>
>Here is another one that has been puzzling us: is there a way to, within an application, detect the executable name it is running under?
>
>For example, if there is an application that can be compiled under several names, can we detect that name within the application (using Foxpro commands, prefferably, or with an API)?
>
>Thank you for your help.
>
>Yan Vaillancourt
>TRANSCONTINENTAL-SODEMA
Hi Yan,
SYS(16,0) will return you the application filename (with full path)
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison