Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run "myexe.exe", 1, True
objShell.Run "myexe.exe > log.txt", 1, True