View difference between Paste ID: 3ygKQtVT and Y3QNr47K
SHOW: | | - or go back to the newest paste.
1
Set objShell = WScript.CreateObject("WScript.Shell")
2-
objShell.Run "myexe.exe", 1, True
2+
objShell.Run "myexe.exe > log.txt", 1, True