Execute batch file hidden

Reading Time: < 1 minute

Copy the below code to a notepad file and name with extension .vbs

Amend the path so it calls your batch file. That’s it

Set WshShell = CreateObject(“WScript.Shell”)
WshShell.Run chr(34) & “C:\folder\batchfile.bat” & Chr(34), 0
Set WshShell = Nothing

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.