Run KVM switch in background and target DDM by monitor model
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Option Explicit
|
||||
|
||||
Dim shell
|
||||
Dim projectPath
|
||||
Dim command
|
||||
|
||||
Set shell = CreateObject("WScript.Shell")
|
||||
projectPath = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
|
||||
command = "cmd.exe /c cd /d """ & projectPath & """ && uv run kvm-switch"
|
||||
|
||||
' Run hidden and do not wait.
|
||||
shell.Run command, 0, False
|
||||
Reference in New Issue
Block a user