Just put the below text in a file named whatever with extension “.vbs”, replace “test.bat” with the path of the batch script you want to run, save, then double-click the .vbs file and voila! Faceless batch script execution.
' This script runs a batch file in the background.
' From http://www.pcreview.co.uk/forums/thread-364530.php
'
Set WshShell = CreateObject("WScript.Shell")
cmds=WshShell.RUN("test.bat", 0, True)
Set WshShell = Nothing
Leave a Reply