Autor Beitrag
Gesus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 43



BeitragVerfasst: So 20.03.05 05:00 
Hi! Habe schon lange gesucht, aber wie man hier sieht, leider nix gefunden:(

Ich wollte eigentlich nur mal Fragen, wie man Ordner erzeugt, und diese dann versteckt.
Also das erzeugen von normalen Ordnern weiß ich schon, aber wie kann man diesen dann verstecken? Wäre nett wenn da einer helfen kann!

Mfg Gesus
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 20.03.05 11:18 
das geht bei ordner genau so wie mit dateien:
ausblenden Delphi-Quelltext
1:
SetFileAttributes (PChar ('C:\DeinOrdner'),FILE_ATTRIBUTE_HIDDEN);					

das 2. argument der funktion kann folgende werte haben:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
FILE_ATTRIBUTE_ARCHIVE    Das Archiv-Symbol (a).
FILE_ATTRIBUTE_HIDDEN     Versteckt
FILE_ATTRIBUTE_NORMAL     Keine Attribute
FILE_ATTRIBUTE_OFFLINE    offline Verfügbar
FILE_ATTRIBUTE_READONLY   Read-Only (Schreibgeschützt). 
FILE_ATTRIBUTE_SYSTEM     Systemdateien 
FILE_ATTRIBUTE_TEMPORARY  Temporäre Datei.

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



BeitragVerfasst: So 20.03.05 13:47 
thx
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 21.03.05 01:00 
Nur mal so nebenbei: Wenn man den Explorer richtig eingestellt hat, dann sieht man auch die versteckten Dateien und Ordner.
LH_Freak
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 385

Win XP
D7 PE, D2k5 Trial
BeitragVerfasst: Mo 21.03.05 01:02 
aber keine Systemdateien :D
Die Funktion ist nämlich sehr versteckt ;)
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 21.03.05 01:16 
user profile iconLH_Freak hat folgendes geschrieben:
aber keine Systemdateien :D
Die Funktion ist nämlich sehr versteckt ;)

Hä? Explorer -> Extras -> Ordneroptionen -> Ansicht. Zu mindest war es da bei Windows 2000 noch und wenn ich mich recht erinnere, ist es dort auch noch bei Windows XP. Wo ist da was versteckt? :roll:
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mo 21.03.05 01:37 
Ja, ist bei XP auch noch da... :)
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 21.03.05 01:48 
user profile iconFiji-Fighter hat folgendes geschrieben:
Ja, ist bei XP auch noch da... :)

Das zu hören, beruhigt mich jetzt ungemein, muss ich dir ehrlich sagen. :mrgreen: