whatever := Application.ExeName
This returns the full path and name of the application. I assume you mean
the application you are designing?
Steve Aish
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 1 September 2001 12:52
To: Multiple recipients of list delphi
Subject: [DUG]: drive path extraction
hi all i was wondering how do i extract the drive path so i can store
it in a variable and use it for a install ie
whatever:=extractdrivepath [code]
....
..
so i can use it latter on ie
winexec(whatever '\apps\myapp.exe', sw_shownormal);
thanks to all
...
Brendon Toogood
E-Mail [EMAIL PROTECTED]
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/