Get Program Directory

Get program directory.

procedure TForm1.Button1Click(Sender: TObject);
begin
Edit1.Text := ExtractFilePath(Application.exename);
end;

Incoming search terms:

  • GetProgramDirectory
This entry was posted in Files. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string 8fKjiQ to the field below: