Autor Beitrag
Sebastian R.
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 72
Erhaltene Danke: 1



BeitragVerfasst: Fr 19.05.06 17:00 
Hi Leute,
ich habe jetzt einen Pfad, angenommen C:\Programme\Test1\test . Das kann jetzt entweder ein Ordner namens "test" sein, oder eine Datei ohne Dateiendung. Wie kann ich das prüfen (gibt es sowas wie IsDirectory oder so)?

MfG, Sebastian.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 19.05.06 17:09 
Guck dir mal die Funktion IsDirectory an.
Sebastian R. Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 72
Erhaltene Danke: 1



BeitragVerfasst: Fr 19.05.06 17:15 
user profile iconLuckie hat folgendes geschrieben:
Guck dir mal die Funktion IsDirectory an.


Das war zwar jetzt nur geraten, aber die gibt's echt? Muss man dazu irgendwas includen?
LLCoolDave
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 212

Win XP
Delphi 2005
BeitragVerfasst: Fr 19.05.06 17:44 
Hab Delphi zwar grad zuegamcht, aber wenn du was includen musst, sollte es SysUtils sein.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 20.05.06 13:43 
was du meinst ist DirectoryExists

_________________
In the beginning was the word.
And the word was content-type: text/plain.