I'm trying to get a specific file (which is in the current directory) to run in the background. To do this I am using batch script to make a file called file12.vbs , which will run file1.bat in the background. The problem is that file12.vbs isn't generating with all 3 lines of the code bellow. Does anyone know how to resolve this?
echo Set WshShell = CreateObject("WScript.Shell")>> file12.vbs echo WshShell.Run chr(34) & "file1.bat" & Chr(34), 0>> file12.vbs echo Set WshShell = Nothing>> file12.vbs`