executing command from within script 
Author Message
 executing command from within script

How do I launch a command from within the script ?
Specifically I want to call a html page on the internet to be shown
in the default browser.
--
Mats Manhav at Moonsea Software
InstallDialogue   => Custom Dialog editor and code generator
                  => Support for both IS 6 and IS 5.
Moonsea Software  => http://www.*-*-*.com/


Sat, 14 Sep 2002 03:00:00 GMT  
 executing command from within script

Quote:
> How do I launch a command from within the script ?
> Specifically I want to call a html page on the internet to be shown
> in the default browser.

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run ("http://www.microsoft.com")

Hope it helps.
Primoz



Sun, 15 Sep 2002 03:00:00 GMT  
 executing command from within script
dim wshShell, strUrl

set wshShell = Createobject("WScript.Shell")
strURL = "HTTP://MSDN.MICROSOFT.COM/SCRIPTING"
wshShell.Run strURL


Quote:
> How do I launch a command from within the script ?
> Specifically I want to call a html page on the internet to be shown
> in the default browser.
> --
> Mats Manhav at Moonsea Software
> InstallDialogue   => Custom Dialog editor and code generator
>                   => Support for both IS 6 and IS 5.
> Moonsea Software  => http://moonsea.com



Fri, 04 Oct 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Executing a .exe file from within VB Script?

2. "execute as" within a script

3. execute WSH scripts within a browser

4. Executing WSH Scripts within a Browser

5. Issuing dos commands within a script

6. How to execute a command line command from a *.HTA

7. Simple question about how to execute a command from a vb script

8. How to execute a batch file within a vbscript or activeX ftp object

9. Execute a program that expects parameters within another program

10. Executing Application within ASP Code

11. executing programs within vbscript

12. execute vbscript within vbscript

 

 
Powered by phpBB® Forum Software