不就是要打开 我的电脑吗?
System.Diagnostics.Process.Start("Explorer.exe", My.computer.replace("."," "))
My.Computer 去掉一个. 不就是 My Computer嘛
不必当真
试试这个 System.Diagnostics.Process.Start("Explorer.exe", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}")
顺便给出一些系统文件夹路径常数:
Private Const NameSpace_MyComputer = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
Private Const NameSpace_RecycleBin = "::{645FF040-5081-101B-9F08-00AA002F954E}"
Private Const NameSpace_NetworkNeighborhood = "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
Private Const NameSpace_Dialup = "::{a4d92740-67cd-11cf-96f2-00aa00a11dd9}"
Private Const NameSpace_ControlPanel = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
Private Const NameSpace_Printers = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}"
Private Const NameSpace_ScheduledTasks = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}"
[此贴子已经被作者于2007-1-4 13:45:24编辑过]