views:

75

answers:

1

Exists any way to open "Folder Options" (In windows Explorer: Tools > Folder Options) dialog programmatically? If no, how to set "Show hidden files and folders"? Sorry for poor english.

+3  A: 

This should work:

ProcessStartInfo psi = new ProcessStartInfo
   {
       FileName = "RUNDLL32.EXE",
       Arguments = "shell32.dll,Options_RunDLL 0"
   };
Process.Start(psi);

There is a quite extensive reference here: Dx21 RunDLL32.

Fredrik Mörk
awsome didn't know you could do that :D
PoweRoy