Hi,
SYS(16) returns the executing proram file name.
HTH,
Arriyel
>Hi!
>
>For example: I have a project called "MYAPP" and when I ask VFP to build a EXE, VFP creates MYAPP.EXE
>
>So, I can read and I know the name is it (MYAPP.EXE) but I have a function that need the name of EXE and this function is used in a lot of APPs... So, today I have a variable with the EXE name and each project I have to change this value...
>
>I'd like something that returns me the name of EXE... Is it possible?
>
>TIA!
Speak using soft and sweet words in case you have to eat them later.