Get Program Directory

Get program directory.

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

Leave a Reply

Please copy the string 5MRaG0 to the field below: