Files
NAFKA-crm-gui/scripts/start.vbs
2026-05-27 15:43:21 +02:00

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