Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi "Startpfad" beim Savedialog einstellen (https://www.delphipraxis.net/55967-startpfad-beim-savedialog-einstellen.html)

ichbins 1. Nov 2005 18:16

Re: "Startpfad" beim Savedialog einstellen
 
Pfad:
Delphi-Quellcode:
extractfilepath(filename)
Dateiname:
Delphi-Quellcode:
extractfilename(filename)
Endung des Dateinamens:
Delphi-Quellcode:
extractfileext(filename)
Endung des Dateinamens ändern:
Delphi-Quellcode:
changefileext(filename, newext)
Laufwerksbuchstabe:
Delphi-Quellcode:
function driveletter(filename:string);
begin
  if filename[2]=':' then result:=filename[1] else result:=paramstr(0)[1];
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:09 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz