Reputation: 3299
I am downloading a storing a set of files in a separate folders in My Documents . Is it possible to hide this folder.
I am creating an application which runs Out Of Browser and Has Elevated Permissions
Upvotes: 2
Views: 112
Reputation: 56391
Assuming you have the proper permissions and that the folder exists at the correct path:
File.SetAttributes(@"..\foo\bar", FileAttributes.Hidden);
Upvotes: 3