How do I open the “My Documents” and “My Computer” folders from C#?

后端 未结 9 1149
无人及你
无人及你 2020-12-19 20:19

I have used two GUIDs to open the folders My Computer and My Documents.

Process.Start(\"iexplore.exe\", \"::{20d04fe0-3aea-1069-a2d8-08002b         


        
9条回答
  •  执笔经年
    2020-12-19 20:37

    Better still would be to skip explorer entirely and just "start" the GUIDs directly:

    Process.Start("::{20d04fe0-3aea-1069-a2d8-08002b30309d}");...

提交回复
热议问题