Author Topic: Launching a website question  (Read 2306 times)

jimklein

  • Newbie
  • *
  • Posts: 4
Launching a website question
« on: December 03, 2013, 11:33:21 am »

I can launch a website using
Run("iexplore.exe","http://google.com")

But that assumes I want to use IE - & doesn't use the "default browser"

I tried Run("http://google.com","") hoping it would use the current default browser but that doesn't work either.

Much thanks

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Launching a website question
« Reply #1 on: December 03, 2013, 01:52:41 pm »
Try using ShellExecute instead:

Code: Winbatch
ShellExecute("http://www.google.com", "", "", @NORMAL, "")
 
Deana F.
Technical Support
Wilson WindowWare Inc.