I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

July Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi Single User Apps Topic   Print This     

What directory is my application located in?

What directory is my application located in? in Delphi Single User Apps topic (part of our Pascal and Delphi Coding group).

Quick Search: directory   application   located   What directory   What directory my   application located  
Xion
-- USA
I need to figure out what drive/Directory my application is located in. It must be possible in some way to implement this, but im not sure how it''s done.
Any help would be appriciated
 Posted 17 years ago (Thread Starter)
Comment Quote
About Xion -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #4878, 2 replies
Thread Started 1/16/2002 4:06:00 PM
View Counter=2204
Last Reply Posted 1/17/2002 7:38:00 AM)
Location=-- USA 
Joined=17 years ago   MB Posts=8  
Larry J. Rutledge
Prestwood IT
Citrus Heights, CA USA
You can always check Application.ExeName to get the path and filename of the currently running executable. If you only want the Path portion, pass it to ExtractFilePath and if you only want the filename, pass it to ExtractFileName.

Hope this helps,
Larry
Larry J. Rutledge

Analyst

Prestwood Software

www.prestwood.com
 Posted 17 years ago
Comment Quote
About Larry J. Rutledge -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Larry J. Rutledge
I worked for Prestwood Software as a Delphi developer from 1997 through 2002. During that time I enjoyed working with Mike Prestwood and the other developers at Prestwood.

Post ID #4879 (Level 1.1)  Reply to 4878
Thread Started 1/16/2002 5:44:00 PM
View Counter=2
Location=Citrus Heights, CA USA 
Joined=19 years ago   MB Posts=73   KB Posts=9  
Most Recent Post
Xion
-- USA
So simple!
But I would probably never have guessed it Big Grin!

Thanx for you help!!
 Posted 17 years ago (Thread Starter)
Comment Quote
About Xion -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #4885 (Level 1.2)  Reply to 4878
Reply Posted 1/17/2002 7:38:00 AM
Location=-- USA 
Joined=17 years ago   MB Posts=8  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1163A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #4878 Counter
2204
Since 4/2/2008
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech