Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open "Folder Options" dialog programmatically

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.

like image 279
wallybh Avatar asked Feb 27 '26 16:02

wallybh


1 Answers

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.

like image 96
Fredrik Mörk Avatar answered Mar 01 '26 04:03

Fredrik Mörk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!