Trying to create a VBScript to open one of two different functions depending on the computer name. Here is my code:
Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
Set objSysInfo = CreateObject("WinNTSystemInfo")
strComputerName = objSysInfo.ComputerName
Sub MIS()
objShell.Run "firefox"
objShell.Run "P:\Private"
objShell.Run ("""C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_86\pythonw.exe""")
objShell.Run ("""C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_86\Lib\idlelib\idle.pyw""")
End Sub
Sub Norm()
objShell.Run "firefox"
objShell.Run "P:\Private"
End Sub
If strComputerName = "BDREDCTR175-74" Then
MIS()
Else
Norm()
End If
However when I run it it gives me the error:

Any solutions?