Autor Beitrag
AZRAEL
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Fr 06.12.02 14:22 
Hi Leute, kann mir einer von euch sagen wie ich ein leeres verzeichniss erstellen, alle dateien eines anderen verzeichnisses in dieses kopieren und anschließend alle dateien im alten löschen kann ?
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Fr 06.12.02 14:49 
Hallo,

such im Forum nach SHFileoperation und verschieb das ganze Verzeichnis anstatt alles einzeln zu kopieren und zu löschen.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 06.12.02 17:16 

_________________
In the beginning was the word.
And the word was content-type: text/plain.
AZRAEL Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Fr 06.12.02 19:43 
hmmmmmmm, wo geb ich bei dem erstem bsp. oben an welchen ordner bzw. welche dateien ?

beim letzten bsp. sagt er er würde den befehl: cCopyDir nicht kennen ..
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 07.12.02 07:54 
Ich tippe auf einen Tippfehler. Einfach mal das erste c weglassen!
ausblenden Quelltext
1:
if CopyDir('d:\download', 'e:\') = True then					
AZRAEL Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Sa 07.12.02 15:52 
hab ich auch schon versucht klappt net er sagt undeclared identifier ....
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 07.12.02 18:12 
Hallo

es wäre schön, wenn du uns auch sagst, wo der Fehler genau entsteht. sonst ist alles Rätselraten.

Ich rate mal: Du hast vergessen Shellapi in die uses Liste aufzunehmen und bei fos: TSHFileOpStruct wird der Compiler meckern.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
AZRAEL Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Mi 11.12.02 00:20 
sorry dass ich mich hier nimmer gemeldet habe ... war die letzten tage leiter net da :( ... ich werde es morgen mal testen und dann bescheid geben ...

Gruß
Azrael