Announcement

Collapse
No announcement yet.

VBS open IE script?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • VBS open IE script?

    I have a script to open a website that only works in IE originally I had the script set to just go to a URL but some people have Chrome set as the default browser so I changed it to specify IE and that works and it opens IE and another tab asking if the user wants to make IE the default browser. Is there any way of getting it to open IE just to the site and not the extra tab asking to set it as default browser?


    Part of my script

    Code:
    Set WshShell = WScript.CreateObject("WScript.Shell") 
    Set oShell = CreateObject("Wscript.Shell") 
    Set oFSO = CreateObject("Scripting.FileSystemObject") 
    Return = WshShell.Run("iexplore.exe https://login.microsoftonline.com/lo...ps://mydomain-
    my.sharepoint.com&LoginOptions=1", 1)
    Last edited by biggles77; 31st January 2015, 16:25. Reason: Wrap script in CODE tags

  • #2
    Re: VBS open IE script?

    Please disregard found this that applied


    http://www.technipages.com/windows-8...efault-browser

    Comment


    • #3
      Re: VBS open IE script?

      Thank you for posting back with a solution to your issue and good job on tracking done to solution yourself. Very well done!
      1 1 was a racehorse.
      2 2 was 1 2.
      1 1 1 1 race 1 day,
      2 2 1 1 2

      Comment

      Working...
      X