There is an .exe program, it runs through the bat, it is authorized on the server, when launched via the VBS script it gives an error, this script should launch the program, add it to the autoload, launch the program hidden and block the process, tell me how to fix it, because it shows what 1 mistake

Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "C:\Intel\System\system.bat" & Chr(34), 0 Set WshShell = Nothing 
  • This is not a program, but some kind of vinaigrette, a set of exploits. ))) No one needs all these unnecessary details, only distracts. It is enough just to write "I do not work out this fragment in VBS, which should launch a batch file" - AK

1 answer 1

How can I fix it, because it shows that there is 1 error in it

 Set WshShell = WScript.CreateObject("WScript.Shell")