Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Make folder Hidden?


1 reply to this topic

kwicker1958

kwicker1958
  • Members
  • 1 posts

Posted 04 April 2003 - 21:55

Is there a way to create a folder below TARGETDIR and make it hidden?  I know how to make files hidden, but wonder how to do this in code to make the folder hidden.

vuttex

vuttex
  • Full Members
  • 35 posts

Posted 11 April 2003 - 10:50

Just use the SetFileInfo and point out a folder instead of a file.

SetFileInfo ("C:\\hiddenfolder", FILE_ATTRIBUTE, FILE_ATTR_HIDDEN, "");