I'm trying to open 2 applications with a VBScript file and make them split screen. I was following this code below but it's only getting me to the file location and not actually launching it.
Option Explicit
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''' Launches two Explorer windows side-by-side filling the screen dimensions.
''' Minimizes all current open windows before launch; if this is not done,
''' the current open windows will also be resized along with our two windows.
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Dim Calc,objShell
Calc = "%windir%\system32\calc.exe"
Set objShell = CreateObject("Shell.Application")
objShell.MinimizeAll
Call Explore(Calc)
WScript.Sleep 800
Call Explore(Calc)
WScript.Sleep 800
objShell.TileVertically
Set objShell = Nothing
'*****************************************************
Function Explore(Path)
Dim ws
Set ws = CreateObject("WScript.Shell")
Explore = ws.run("Explorer /n,/select,"& Path &"")
End Function
'*****************************************************