Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Full path of an exe
Message
 
To
19/12/2000 21:48:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00455323
Message ID:
00455377
Views:
22
>How can I dynamically obtain the full path of the current exe being run from with in the program.
>
>For example, if my exe name is abc.exe and it is copied into c:\temp folder. When ran from that location I need to obtain "c:\temp\abc.exe". Is there a way to get that.
>
>Thanx
>Gnana


Gnana, for example:
? SYS(16,0)              && Full path and file name
? JUSTPATH(SYS(16,0))    && Only path
? JUSTFNAME(SYS(16,0))   && Only file name 
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform