Run a .bat file in a scheduled task without a window

You could run it silently using a Windows Script file instead. The Run Method allows you running a script in invisible mode. Create a .vbs file like this one Dim WinScriptHost Set WinScriptHost = CreateObject(“WScript.Shell”) WinScriptHost.Run Chr(34) & “C:\Scheduled Jobs\mybat.bat” & Chr(34), 0 Set WinScriptHost = Nothing and schedule it. The second argument in this … Read more