mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-06-06 15:47:22 +02:00
Fixed VBS Script creation location
This commit is contained in:
parent
72e754faa4
commit
531da7ee39
@ -43,13 +43,13 @@ echo Creating RunBatchSilently.vbs script
|
|||||||
:: Create VBScript to run the batch file silently
|
:: Create VBScript to run the batch file silently
|
||||||
@echo off
|
@echo off
|
||||||
SET "VBS_NAME=RunBatchSilently.vbs"
|
SET "VBS_NAME=RunBatchSilently.vbs"
|
||||||
SET "VBS_PATH=%STEAM_FOLDER%\%VBS_NAME%"
|
SET "VBS_PATH=%SCRIPT_PATH%\%VBS_NAME%"
|
||||||
echo Set WshShell = CreateObject("WScript.Shell") > "%VBS_PATH%"
|
echo Set WshShell = CreateObject("WScript.Shell") > "%VBS_PATH%"
|
||||||
echo WshShell.Run chr(34)^&"%SCRIPT_PATH%"^&chr(34), 0, True >> "%VBS_PATH%"
|
echo WshShell.Run chr(34)^&"%SCRIPT_PATH%"^&chr(34), 0, True >> "%VBS_PATH%"
|
||||||
echo Set WshShell = Nothing >> "%VBS_PATH%"
|
echo Set WshShell = Nothing >> "%VBS_PATH%"
|
||||||
|
|
||||||
echo Create XML file for the scheduled task
|
echo Create XML file for the scheduled task
|
||||||
SET XML_PATH=%STEAM_FOLDER%\DelayedExplorerStartTask.xml
|
SET XML_PATH=%SCRIPT_PATH%\DelayedExplorerStartTask.xml
|
||||||
|
|
||||||
echo Delete the existing XML file if it exists
|
echo Delete the existing XML file if it exists
|
||||||
IF EXIST "%XML_PATH%" DEL "%XML_PATH%"
|
IF EXIST "%XML_PATH%" DEL "%XML_PATH%"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user