generated from dopt-python/py311
13 lines
469 B
Plaintext
13 lines
469 B
Plaintext
Set WshShell = CreateObject("WScript.Shell")
|
|
Set FSO = CreateObject("Scripting.FileSystemObject")
|
|
|
|
strScriptDir = FSO.GetParentFolderName(WScript.ScriptFullName)
|
|
WshShell.CurrentDirectory = strScriptDir
|
|
|
|
pythonExe = strScriptDir & "\python\python.exe"
|
|
|
|
' Use cmd.exe /c (close when done) as a trusted bridge to launch the module
|
|
runCommand = "cmd.exe /c " & Chr(34) & pythonExe & Chr(34) & " -m wce_crm.gui"
|
|
|
|
' Set back to 0 (Hidden).
|
|
WshShell.Run runCommand, 0, False |