Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Windows Explorer Taskbar Icon - Change Open To Target


Windows Explorer Taskbar Icon - Change Open To Target

How to Change the Windows 7 Pinned Windows Explorer Taskbar Icon Open To Target
Published by Brink
25 Jan 2009
Published by

How to Change the Windows 7 Pinned Windows Explorer Taskbar Icon Open To Target


information   Information
This will show you how to change the Windows 7 pinned Windows Explorer taskbar icon from the default Open To the Libraries window target to Open To the Computer window target or other possible locations that are available to choose from instead when you click on the Windows Explorer icon on the taskbar.
Note   Note
Special thanks to Chappy (aka: Dave) for pointing this out to me, and to Limneos for the additional locations.
warning   Warning
By design in Windows, these shortcuts will open a new window in a new process (explorer.exe) each time you use the shortcut. When you close the opened window from the shortcut, the extra explorer.exe process will close with it as well a few moments afterwards.

EXAMPLE: Windows Explorer icon pinned to the taskbar

EXAMPLE: Opens to Libraries (default) or Computer
NOTE: You can also select from the other available options below.
Windows Explorer Taskbar Icon - Change Open To Target-libraries.jpg

Windows Explorer Taskbar Icon - Change Open To Target-computer.jpg

Here's How:
1. Right click on the pinned Windows Explorer taskbar icon, then right click on Windows Explorer in the Jump List and click on Properties. (see screenshot below)
Name:  Unpin.jpg
Views: 18126
Size:  48.0 KB
2. In the Shortcut tab, make sure that the field box to the right of Start in is empty.

3. In the Shortcut tab and to the right of Target, type or copy the path (code) for the location below that you want the Windows Explorer icon to open to instead, then click on OK. (see screenshot below)
NOTE: You can do this for any item that you know it's {CLSID} registry entry for. You can also specify a specific folder e.g. :
%windir%\explorer.exe /n, /e, /select, C:\somefolder
Name:  Target_Properties.jpg
Views: 17707
Size:  101.2 KB

Note   Note
Using the Explorer.exe Command Line Syntax/:


%windir%\explorer.exe [/n][/e][,/root],X,[[/Select],Y]
  • X - Secifies the object, and optionally with sub-object Y.
  • /e - Uses Windows Explorer view. Shows the left Windows Explorer tree view in the navigation pane together with the right pane in list view.
  • /n - Opens a new window in a new process for each item selected, even if the new window duplicates a window that is already open.
  • /root - Will have Explorer.exe explore the root object X and objects belonging to X. On the other hand, when the /root switch is not present, Explorer.exe explores the object X, its children, and other Explorer objects as well.
  • /Select - Puts the focus on a file or folder. The parent folder is opened and the specified object is selected.
For example:

Code:
%windir%\explorer.exe /N,/Select,%WinDir%\system32\calc.exe
The command above will explore the C:\Windows\System32 folder and put the focus on the calc.exe (calculator) program.
Tip   Tip
If you want the navigation pane to exand open to the item in Windows 8, then you will need to turn on "Expand to Current Folder" in the navigation pane.


  • Windows Explorer (default) (opens to Libraries)
(Windows 7)
Code:
%windir%\explorer.exe
(Windows 8)
Code:
%AppData%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk
  • Computer
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
OR

Code:
%windir%\explorer.exe shell:MyComputerFolder
  • My Documents
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}
  • Documents Library
Code:
%UserProfile%\AppData\Roaming\Microsoft\Windows\Libraries\Documents.library-ms
  • Downloads
Code:
%UserProfile%\Downloads
  • Recycle Bin
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{645FF040-5081-101B-9F08-00AA002F954E
  • Network Neighborhood
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{208D2C60-3AEA-1069-A2D7-08002B30309D}
  • Default Web Browser (ex: Internet Explorer)
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{871C5380-42A0-1069-A2EA-08002B30309D}
  • Computer Search Results Folder
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA}
  • Network Search Results Folder
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{E17D4FC0-5564-11D1-83F2-00A0C90DC849}
  • Web Folders
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{BDEADF00-C265-11D0-BCED-00A0C90AB50F}
  • Control Panel
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}
  • Printers and Faxes
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}
  • Scanners and Cameras
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{E211B736-43FD-11D1-9EFB-0000F8757FCD}
  • Fonts
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
  • Network Connections or My Network Place
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
  • Administrative Tools
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524153}
  • Tasks Scheduler
(Opens in new process)
Code:
%windir%\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
  • User Profile (personal) Folder
Code:
%windir%\explorer.exe shell:Profile
That's it,
Shawn




.

25 Jan 2009   #1
t16skyhopper

XP 64 , Vista 64 , W7 64 tripple boot
 
 

Thanks, I was struggling with this to get it, I've been using it that way since W 98
as I see this is excellent for opening 1 window alone but when u have the necessity to open many windows at the time, this is not exactly a shortcut . . .
I open the folder containing the item I want to copy for instance, then I have to go to desktop or start menu to open an other window, to paste in, or I have to close the first window to open an other without having to right click the pin and open an other window, so the use of pins isn't exactly a very big advantage even if just more beautiful

My System SpecsSystem Spec
.

25 Jan 2009   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome t16skyhopper, and welcome to Seven Forums.

Shawn
My System SpecsSystem Spec
12 Feb 2009   #3
limneos

Windows 7 RC 7100 32bit/64bit
 
 
Libraries Taskbar Icon- Change Default Opening Location

Note   Note
By default, Windows Explorer in Windows 7 opens the Libraries location. Following this tutorial you will find how you can change this location to "My Computer" or other possible locations that are available to choose from


HERE'S HOW:

1. Right-click the Libraries icon on the taskbar.
2. Right-click Windows Explorer icon (usually third from bottom on the list)
and select "Properties".

3. In the Target text box under Shortcut tab, change the value to one of the following to open either Documents or Computer by default:

To Make Computer as Default Folder to Open by Windows Explorer upon Launching:
Code:
%windir%\explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
To Make Documents as Default Folder to Open by Windows Explorer upon Launching:

Code:
%windir%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}
4. Click OK and you're done.

Note   Note
You can do this for any item that you know it's {CLSID}. You can also specify a specific folder e.g. : %windir%\explorer.exe /n, /e, /select, C:\somefolder


Limneos



More available locations:

Recycle Bin
%windir%\explorer.exe /N,::{645FF040-5081-101B-9F08-00AA002F954E}
Network Neighborhood
%windir%\explorer.exe /N,::{208D2C60-3AEA-1069-A2D7-08002B30309D}
Default Web Browser or Navigator (IE, Firefox, Safari, Google Chrome)
%windir%\explorer.exe /N,::{871C5380-42A0-1069-A2EA-08002B30309D}
Computer Search Results Folder
%windir%\explorer.exe /N,::{1F4DE370-D627-11D1-BA4F-00A0C91EEDBA}
Network Search Results Folder
%windir%\explorer.exe /N,::{E17D4FC0-5564-11D1-83F2-00A0C90DC849}
Web Folders
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{BDEADF00-C265-11D0-BCED-00A0C90AB50F}
Control Panel
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}
Printers and Faxes
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}
Scanners and Cameras
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{E211B736-43FD-11D1-9EFB-0000F8757FCD}
Fonts
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524152}
Network Connections or My Network Place
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
Administrative Tools
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D20EA4E1-3957-11d2-A40B-0C5020524153}
Tasks Scheduler
%windir%\explorer.exe /N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}


Attached Images
  
My System SpecsSystem Spec
12 Feb 2009   #4
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Limneos,

Thank you for the additional locations.
My System SpecsSystem Spec
14 Feb 2009   #5
Dragor1

Windows 7 Ultimate (64 bit) dual boot with Fedora KDE
 
 

Thanks works gr8! Actually wanted it this way for 1 click My computer access from anywhere! Very useful for copy/cut paste operations!
My System SpecsSystem Spec
14 Feb 2009   #6
garysgold

Vista Ult 64 bit Seven Ult RTM x64
 
 

Great info. Thanks guys.
My System SpecsSystem Spec
14 Feb 2009   #7
RoyalNoob3

Dualboot (Vista Home Premium 32b + Windows 7 Ultimate 32b)
 
 

Thanks >.
My System SpecsSystem Spec
14 Feb 2009   #8
limneos

Windows 7 RC 7100 32bit/64bit
 
 

Quote   Quote: Originally Posted by Brink View Post
Limneos,

Thank you for the additional locations.
My pleasure, Shawn.
My System SpecsSystem Spec
07 Mar 2009   #9
gendows

Windows 7
 
 

great

and if u want to change the icon

Shift + R Click on the Explorer icon
and click on Properties then in the Customize tab choose Change icon button


and for more icons type
%SystemRoot%\system32\SHELL32.dll

in the location bar
My System SpecsSystem Spec
Comment

 Windows Explorer Taskbar Icon - Change Open To Target





Tutorial Tools



Similar help and support threads for2: Windows Explorer Taskbar Icon - Change Open To Target
Windows 7 Tutorial Category
How to change file Icon in Windows Explorer (.mp3) Customization
Missing icon on windows explorer system folder on my taskbar? General Discussion
Taskbar icon for open program/window change Customization
How to change icon on taskbar when i have a folder open? Customization
'Open' icon in Windows Explorer problem General Discussion
All icon change target type to WMP General Discussion
My taskbar Windows Explorer icon changed. Customization

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:55 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33