WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: jimklein on December 03, 2013, 11:33:21 AM

Title: Launching a website question
Post by: jimklein 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
Title: Re: Launching a website question
Post by: Deana on December 03, 2013, 01:52:41 PM
Try using ShellExecute instead:

Code (winbatch) Select
ShellExecute("http://www.google.com", "", "", @NORMAL, "")