> Is there anybody how to create hidden folder in public folder or system?
Sure!
#using <System.dll>
#using <System.IO.dll>
DirectoryInfo^ di = gcnew DirectoryInfo("C:\\ExistingDir\\HiddenDir");
// Exception handling omitted
di->Create();
di->Attributes = FileAttributes::Directory | FileAttributes::Hidden;
Sean
>Is there anybody how to create hidden folder in public folder or system?
>
>I have a any problem.
>I cannot create hidden folder in public or system folder.
>Is there anybody who knows the answer to create hidden folder ?
CreateDirectory( "c:\\Program Files\\FolderX", NULL );
SetFileAttributes( "c:\\Program Files\\FolderX", FILE_ATTRIBUTE_HIDDEN );
Of course, it will still be visible with "dir /a". You don't want to make
a truly hidden folder. Sony learned that lesson the hard way.

Signature
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.