How to hide system folder?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I know IShellFolder::GetAttributesOf can get property of any sys folder.
But how can I hide sys folder? which function can do it?
 
NianHawk said:
I know IShellFolder::GetAttributesOf can get property of any sys
folder.
But how can I hide sys folder? which function can do it?

If you want to set the hidden attribute of a directory at the level of the
file system then check the docs for SetFileAttributes():

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/setfileattributes.asp

If you are asking how to hide a folder at the level of the shell, I suggest
you post again in

microsoft.public.platformsdk.shell

if no one responds here.
Nothing impossible, Nothing sure

That's for sure. :-)

Regards,
Will
 
Back
Top