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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Current Directory?

Status
Not open for further replies.

Webrookie

Programmer
May 18, 2000
112
US
Hey,

in VB it's App.path
in Foxpro it's curdir()

what is it in Delphi?

I want to get the main path of the application from where the executable is run...

any ideas?

 
Try using the API call
GetCurrentDirectoryA(max_path,CurDir);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top