How do I make the Favorites bar display automatically when i start up Windows Explorer

R

Ramesh, MS-MVP

Copy the following code to Notepad, and save as "explorer.vbs"

- - -
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "explorer.exe"
WScript.Sleep 500
WshShell.SendKeys "^i"
- - -

Double-clicking the file opens Windows Explorer, and enables the Favorites
pane automatically. You can place the script in the Quick Launch folder for
easy access.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


When I open a Windows Explorer (not IE) session, I want the Favorites bar
(or any other bar for that matter) to display by default, instead of the
Info Pane.
anyone have any idea how that`s done? i`ve searched around for a solution
and could not find ANY related information ANYWHERE.

Thanks in advance for any info related...
 
A

alianyn

When I open a Windows Explorer (not IE) session, I want the Favorites bar
(or any other bar for that matter) to display by default, instead of the
Info Pane.
anyone have any idea how that`s done? i`ve searched around for a solution
and could not find ANY related information ANYWHERE.

Thanks in advance for any info related...
 
A

alianyn

WOW - that was fast!
Thanks a lot Ramesh - that helps.

I was actually asking because i`ve developed a Bar of my own, but do not
know how to make it display by default...
is it only possible to do if the bar has an accelerator key? (like ctrl+i
for the history)
is it possible to do this by another means other than a script such as a
..reg file?

thanks again for your answer so far :)
 
R

Ramesh, MS-MVP

You're welcome Alianyn.

Yes. Pls see David's post here:
http://groups.google.com/group/microsoft.public.windowsxp.customize/msg/f7ad2b64810fcf3a

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


WOW - that was fast!
Thanks a lot Ramesh - that helps.

I was actually asking because i`ve developed a Bar of my own, but do not
know how to make it display by default...
is it only possible to do if the bar has an accelerator key? (like ctrl+i
for the history)
is it possible to do this by another means other than a script such as a
..reg file?

thanks again for your answer so far :)
 
A

alianyn

Once again i Thank you Ramesh!
this seems to be exactly what i need - but just 2 questions :
1. it seems that discussion is for using a script on IE - what do i need to
change to make it open up Windows Explorer?
2. I know VERY little about VB scripting - so i can not turn his post into
something useful :(
Can you help me with the exact code that i need to use if the CLSID of my
bar is {377D8121-EFAA-4D1C-981B-8BFAD9F10DE3}?
Once again, thank you VERY much for your help!

Ramesh said:
You're welcome Alianyn.

Yes. Pls see David's post here:
http://groups.google.com/group/microsoft.public.windowsxp.customize/msg/f7ad2b64810fcf3a

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


WOW - that was fast!
Thanks a lot Ramesh - that helps.

I was actually asking because i`ve developed a Bar of my own, but do not
know how to make it display by default...
is it only possible to do if the bar has an accelerator key? (like ctrl+i
for the history)
is it possible to do this by another means other than a script such as a
.reg file?

thanks again for your answer so far :)
 
R

Ramesh, MS-MVP

Alianyn,

Copy this to Notepad, and save the file with .vbs extension.

9 lines (including one commented line)

------------
Set objShell = CreateObject("Shell.Application")
objShell.Open "c:\"
Set AllWindows = objShell.Windows
For Each wnd in AllWindows
'Check if the current Window is a file folder or IE
If InStr(1,wnd.locationurl,"file://") then
a=wnd.ShowBrowserBar("{EFA24E61-B078-11d0-89E4-00C04FC9E26E}", True)
End If
Next
------------

Modify the GUID string accordingly.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Once again i Thank you Ramesh!
this seems to be exactly what i need - but just 2 questions :
1. it seems that discussion is for using a script on IE - what do i need to
change to make it open up Windows Explorer?
2. I know VERY little about VB scripting - so i can not turn his post into
something useful :(
Can you help me with the exact code that i need to use if the CLSID of my
bar is {377D8121-EFAA-4D1C-981B-8BFAD9F10DE3}?
Once again, thank you VERY much for your help!

Ramesh said:
You're welcome Alianyn.

Yes. Pls see David's post here:
http://groups.google.com/group/microsoft.public.windowsxp.customize/msg/f7ad2b64810fcf3a

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top