Einzelnen Beitrag anzeigen

scp

Registriert seit: 31. Okt 2003
1.120 Beiträge
 
Delphi 7 Personal
 
#4

Re: savetofile in bestimmtest Verzeichnis / Ordner erstell

  Alt 21. Jan 2004, 13:43
Um den Ordner zu erstellen, kannst du so vorgehen:
Delphi-Quellcode:
If not DirectoryExists(Application.ApplicationPath + 'Unterordner1') then
  Mkdir(Application.ApplicationPath + 'Unterordner1');
savetofile(Application.ApplicationPath + 'Unterordner1' + '\' + 'dateiname.txt')
  Mit Zitat antworten Zitat