Explore Object

http://www.codeproject.com/KB/system/ExplorerObjects.aspx

Explore what?Command-line

Object X and optionally sub-object Y (general case)

General syntax:

Explorer [/n][/e][,/root],X,[[/Select],Y]

Notes:

  • Use /e to show the left Explorer pane (TreeView) together with the right pane (ListView).
  • Use /n to hide the left Explorer pane (TreeView).
  • If /root is present, we start exploring at the root object (X) and objects belonging to X.
  • If /root is not present, we explore the object X, its children, and other Explorer objects as well.

Examples:

  1. Exploring drive C: only with Folders panel and then without it:

    Explorer /E,/Root,C:

    Explorer /Root,%SystemDrive%

  2. Exploring Windows directory only:

    Explorer /E,/Root,%windir%

  3. Exploring the Logon Server (you can use UNC paths) only:

    Explorer /E,/Root,%LogonServer%

  4. Exploring the current user profile path only:

    Explorer /E,/Root,%HOMEDRIVE%%HOMEPATH%

  5. Exploring the System32 folder and putting the focus on thecalc.exe program:

    Explorer /N,%windir%/system32,/select,%windir%/system32/calc.exe

My Computer

Explorer /E,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

Explanation: The object My Computer is a namespace which has the CLSID: {20D04FE0-3AEA-1069-A2D8-08002B30309D}

Control Panel

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}

Explanation: The Control Panel object whose CLSID is: {21EC2020-3AEA-1069-A2DD-08002B30309D} is a sub-object ofMy Computer.

Printers and telecopiers

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}/::{2227A280-3AEA-1069-A2DE-08002B30309D}

Fonts

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}/::{D20EA4E1-3957-11d2-A40B-0C5020524152}

Scanners and Cameras

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}/::{E211B736-43FD-11D1-9EFB-0000F8757FCD}

Network Neighbourhood

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}/::{7007ACC7-3202-11D1-AAD2-00805FC1270E}

Administration Tools

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}/::{D20EA4E1-3957-11d2-A40B-0C5020524153}

Tasks Scheduler

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}/::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

Web Folders

Explorer /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{BDEADF00-C265-11D0-BCED-00A0C90AB50F}

My Documents

Explorer /N,::{450D8FBA-AD25-11D0-98A8-0800361B1103}

Recycle Bin

Explorer /N,::{645FF040-5081-101B-9F08-00AA002F954E}

Network Favorites

Explorer /N,::{208D2C60-3AEA-1069-A2D7-08002B30309D}

Default Navigator

Explorer /N,::{871C5380-42A0-1069-A2EA-08002B30309D}

Computer search results folder

Explorer /N,::{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA}

Network Search Results computer

Explorer /N,::{E17D4FC0-5564-11D1-83F2-00A0C90DC849}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值