jenney.qiu

导航

调起windows下的“我的电脑”等特殊文件夹

PS:我的淘宝店铺新开业,经营各种桌游,棋牌,希望大伙儿能来看看!http://201314yes.taobao.com/

windows里有很多特殊的文件夹,如“我的电脑”, “控制面板”, “垃圾箱”等,windows分配了这些文件夹的在注册表的CLSID下,你能很容易的调起。

  • Administrative Tools "::{D20EA4E1-3957-11d2-A40B-0C5020524153}"
  • Control Panel "::{21EC2020-3AEA-1069-A2DD-08002b30309d}"
  • Fonts "::{D20EA4E1-3957-11d2-A40B-0C5020524152}"
  • My Computer "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
  • My Documents "::{450D8FBA-AD25-11D0-98A8-0800361B1103}"
  • Printers and Faxes "::{2227A280-3AEA-1069-A2DE-08002B30309D}"
  • Programs Folder "::{7be9d83c-a729-4d97-b5a7-1b7313c39e0a}"
  • Recycle Bin "::{645FF040-5081-101B-9F08-00AA002F954E}"
  • Scheduled Tasks "::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}"
  • Start Menu "::{48e7caab-b918-4e58-a94d-505519c795dc}"

autoit调用方式:Run("explorer.exe /e, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}") 调起我的电脑,不知道为什么autoit返回的PID不正确。不过以此种方式调起的我的电脑在tasklist里面新调起了一个explorer.exe的进程PID,而以其他方式调起的“我的电脑”并没有新调起一个explorer.exe的进程。

其他快捷命令行,如下:

General Shortcut Commands:

    • My Computer with C drive selected
      explorer.exe /select,c
    • Task Manager
      taskmgr.exe
    • Control Panel
      control
    • Windows Version Info
      winver
    • Windows Update
      wupdmgr
    • Internet Options
      inetcpl.cpl
    • Computer Management
      compmgmt.msc
    • System Properties
      sysdm.cpl
    • Date/Time Properties
      timedate.cpl
    • Volume Control
      sndvol32.exe
    • Volume Control (tray)
      sndvol32.exe /tray Normal
    • Logoff
      shutdown.exe -l
    • Switch User / Lock Computer
      rundll32.exe user32.dll LockWorkStation
    • Hibernate
      rundll32.exe powrprof.dll,SetSuspendState
    • Restart
      shutdown.exe -r
    • Shutdown
      shutdown.exe -s
    • Shutdown (abort)
      shutdown.exe -a

posted on 2013-01-23 11:07  jenney.qiu  阅读(454)  评论(0编辑  收藏  举报