Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to obtain the current path 1

Status
Not open for further replies.

MrDontKnowNothing

Programmer
Jun 26, 2003
94
DE
hey folks,

i know, there is a function calles CURDIR(), but that isn't what i want.
i need the path, where the compiled *.exe is actually placed at runtime.

thanks!

alex
 


? sys(2003) perhaps?

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi

Some examples...

gcHomeDirectory = JUSTPATH(SYS(16,0))
SET DEFAULT TO (gcHomeDirectory)
gcAppPath = ADDBS(gcHomeDirectory)
gcExe = JUSTSTEM(JUSTFNAME(SYS(16)))

:)

____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top