Shell "explorer.exe /e," & path, vbMaximizedFocus'explorer.exe /e资源管理方式打开path为路径
Shell "explorer.exe /n," & Path, vbMaximizedFocus'explorer.exe /n普通方式打开,
'后面的, vbMaximizedFocus为打开方式
ShellExecute Me.hWnd, "open", "notepad", "h:\np.txt", vbNullString, SW_SHOWNORMAL
'打印
ShellExecute Me.hWnd, "print", "H:\print.txt", vbNullString, vbNullString, SW_SHOWNORMAL
ShellExecute Me.hWnd, "explore", "h:\", vbNullString, vbNullString, SW_SHOWNORMAL
'查找对话框
ShellExecute Me.hWnd, "find", "h:\", vbNullString, vbNullString, SW_SHOWNORMAL
'资源管理器
ShellExecute Me.hWnd, "open", "explorer", vbNullString, vbNullString, SW_SHOWNORMAL
'我的电脑
ShellExecute Me.hWnd, "open", "explorer", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", vbNullString, SW_SHOWNORMAL
'网上邻居
ShellExecute Me.hWnd, "open", "explorer", "::{208D2C60-3AEA-1069-A2D7-08002B30309D}", vbNullString, SW_SHOWNORMAL
'回收站
ShellExecute Me.hWnd, "open", "explorer", "::{645FF040-5081-101B-9F08-00AA002F954E}", vbNullString, SW_SHOWNORMAL
'打印机和传真
ShellExecute Me.hWnd, "open", "explorer", "::{2227A280-3AEA-1069-A2DE-08002B30309D}", vbNullString, SW_SHOWNORMAL
'★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★打开电脑对应文件夹