Create a .vbs file with this content:

Set WshShell = CreateObject("WScript.Shell" ) 
WshShell.Run chr(34) & "C:\Users\username\Documents\script.bat" & Chr(34), 0 
Set WshShell = Nothing

Create C:\Users\username\Documents\script.bat with your batch script contents.

Advertisements