View Single Post
Old 03-11-2019, 09:37 AM
GuitarDude GuitarDude is offline
Registered User
Join Date: Mar 2019
Posts: 8
Launching to Web Interfaces

Trying to make my job a bit faster. When I open a command line of the device I want to open the Website interface of it as well. Here is what I have now. I'm not sure what I'm missing.
Also I want to have one script and just change the arguments within the properties of the devices to the specific IP.

# $language = "VBScript"
# $interface = "1.0"
' Run.vbs demonstrates how to utilize the Windows Scripting Host (WSH) by using
' its 'Run' method to execute other programs. Note the use of nested quotes to pass
' a path that contains spaces along with command line arguments.

Sub Main
Dim shell
Dim IP
Set shell = CreateObject("WScript.Shell")
shell.Run """C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"" https://&IP&:4434"

End Sub