Update Enable GamesDows v2.bat

This commit is contained in:
jazir5 2024-10-12 21:53:50 -07:00 committed by GitHub
parent dbf70ac5cc
commit 3574869815
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,10 +46,10 @@ echo Creating RunBatchSilently.vbs script
:: Create VBScript to run the batch file silently
(
echo Set WshShell = CreateObject^("WScript.Shell"^)
echo WshShell.Run chr^(34^)^&"!SCRIPT_PATH!"^&chr^(34^), 0, True
echo Set WshShell = CreateObject("WScript.Shell")
echo WshShell.Run chr(34) & "%SCRIPT_PATH%" & chr(34), 0, True
echo Set WshShell = Nothing
) > "!VBS_PATH!"
) > "%VBS_PATH%"
if %errorlevel% neq 0 (
echo Error creating RunBatchSilently.vbs
pause