Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know the name of EXE?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00769368
Message ID:
00769370
Views:
16
This message has been marked as the solution to the initial question of the thread.
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform