Autor Beitrag
tobkin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Mi 04.02.09 15:14 
Servus,
ich suche nun schon eine weile im forum, bin aber ehrlich gesagt noch nicht auf ein Ergebniss gestossen, daher jetzt meine Frage:

Wie kann ich einen ermitteln ob ein Ordner (z.b. c:\Progamme\MeinProg\Module) vorhanden ist?

Sorry stehe aber gerade echt auf dem Schlauch.
Gruß
Tobias
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 04.02.09 15:18 
DirectoryExists ?

_________________
We are, we were and will not be.
tobkin Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Mi 04.02.09 15:47 
Servus,
ohje so einfach gehts.....Danke.

Gruß
Tobias
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mi 04.02.09 17:59 
Alternativ auch
ausblenden Delphi-Quelltext
1:
If RemoveDir('c:\path') then ShowMesssage('Ordner existierte.');					

PS: Bitte NICHT ernst nehmen!

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mi 04.02.09 18:01 
Eher
ausblenden Delphi-Quelltext
1:
If RemoveDir('c:\path') then ShowMesssage('Ordner existierte und war leer.');					


PS: Korrektur ernst nehmen, Antwort ans sich nicht ;)

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
DeddyH
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 04.02.09 18:48 
Egal, geht eh beides nicht, ein "s" zuviel bei ShowMessage :mrgreen: