I have a batch code that i want to run in vbs, without a cmd window. Batch code:
:X
taskkill /f /im chrome.exe /fi "WINDOWTITLE eq Monkeys*"
goto x
Can anyone help me?
Tried running the file through a seperate batch file and vbs file. VBS code:
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs
strArgs = "cmd /c cleaning.bat"
oShell.Run strArgs, 0, false
But i want to run the batch code with a single vbs.