Verhindert, dass die VBscript-App das Konsolenfenster anzeigt
Ich habe eine VBScript-App, die symbolische Links erstellt.
Set wshell = CreateObject("WScript.Shell")
.....
linkcmd = "mklink /D """ & linkFolderPath & "\" & linkName & """ """ & libfolder & "\" & folderName & """"
cmd = "cmd /C " & linkcmd
wshell.Run cmd, 4, true
Das ist in Ordnung und funktioniert, aber wenn ich viele Links erstelle, wird jede Ausführung derwshell.Run
Befehl führt dazu, dass ein temporäres Konsolenfenster angezeigt wird und sofort verschwindet.
Gibt es überhaupt eine Möglichkeit zu verhindern, dass das Konsolenfenster so sichtbar erstellt wird?