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



BeitragVerfasst: Mi 01.09.04 09:17 
Hallo Leute!

Wie kann ich prüfen ob meine ausgwewählte Festplatte oder mein Verzeichnis beschreibbar sind.

Danke
.Chef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1112



BeitragVerfasst: Mi 01.09.04 12:40 
Erstelle eine Dummy-Datei, z.B. mit TFileStream innerhalb eines try-except-Blocks. Wird die Exception ausgelöst, konnte die Datei nicht erstellt werden, ergo ist das Laufwerk nicht beschreibbar.

Gruß,
Jörg

_________________
Die Antworten auf die 5 häufigsten Fragen:
1. Copy(), Pos(), Length() --- 2. DoubleBuffered:=True; --- 3. Application.ProcessMessages bzw. TThread --- 4. ShellExecute() --- 5. Keine Vergleiche von Real-Typen mit "="!
souso20 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20



BeitragVerfasst: Mi 01.09.04 16:01 
Danke für die Hilfe

Hat gefunzt