troubleshooting Question

How to make Internet Shortcut open with IE as opposed to firefox if firefox is default browser

Avatar of chipw93
chipw93 asked on
VB Script
13 Comments3 Solutions2259 ViewsLast Modified:
I have a vbs script that creates an internet Shortcut (Thanks to the good folks on this site).  But my internet shortcut does not work under the firefox browser, however, if they use IE6, or IE& it opens up just fine.

Is there a way I can amend the shortcut, so that it opens up using Internet Explorer

the shortcut creator script is

set objShell = Wscript.Createobject("Wscript.Shell")
strDesktopFld = objShell.SpecialFolders("Desktop")
Set objURLShortcut = objShell.createShortcut(strDesktopFld & "\Install-CoM-Applications.lnk")
'Name for Shortcut to add
objURLShortcut.Targetpath = "http://localhost:9595/webportal/webportal.exe"
'Path to icon
objURLShortcut.IconLocation = "Shell32.dll,95"
'Path for Shortcut
objURLShortcut.Save

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros