Autor Beitrag
kreuzkrieter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Mo 03.05.04 18:38 
hallo,
wie macht man es, dass ein delphi-programm eine datei an einen bestimmten ort der festplatte kopiert wird?

Moderiert von user profile iconMotzi: Thema verschoben
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mo 03.05.04 18:47 
Hallo,

mit der Funktion CopyFile der WinAPI.

ausblenden Delphi-Quelltext
1:
2:
if (CopyFile(PChar('C:\text.txt'), PChar('c:\meine programme\test.txt'), True)=0) then
  ShowMessage('Fehler beim Kopieren der Datei');

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Di 04.05.04 13:18 
Titel: danke
un wie macht man, dass z.b. die tex-/exetdatei im delphiprog gespeichert ist, sodass er nich erst auf einen pfad zurückgreifen muss?
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 04.05.04 14:17 
Und warum fragst du nicht gleich das, was du wissen willst? Suche in: Delphi-Forum, Delphi-Library EXE RESSOURCE
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Di 04.05.04 18:03 
Titel: ?
???
hab ich
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 04.05.04 18:54 
Das Blaue da, ... das ist ein Link, den kann man anklicken ...
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Mi 05.05.04 12:54 
Titel: ui
ach! echt?
danke