Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

Show MyComputer, ControlPanel, RecycleBin, NetworkPlaces on Button Click

4.90/5 (6 votes)
27 May 2011CPOL 12.1K  
For Control Panel:Process.Start(control.exe);For My Computer:Process.Start(explorer.exe, Environment.GetFolderPath(Environment.SpecialFolder.MyComputer));For the rest, we can use GUID just like the original.For Recycle...
For Control Panel:

Process.Start("control.exe");


For My Computer:

Process.Start("explorer.exe", Environment.GetFolderPath(Environment.SpecialFolder.MyComputer));


For the rest, we can use GUID just like the original.

For Recycle Bin,

Process.Start("::{645FF040-5081-101B-9F08-00AA002F954E}");


and similarly for Network Places too.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)