mirror of
https://github.com/jazir555/GamesDows.git
synced 2025-06-06 23:57:25 +02:00
Update Enable GamesDows v2.bat
This commit is contained in:
parent
3574869815
commit
363a5cc146
@ -60,16 +60,16 @@ echo Creating DelayedExplorerStart.bat script
|
|||||||
|
|
||||||
echo Create the DelayedExplorerStart.bat script in the Steam folder
|
echo Create the DelayedExplorerStart.bat script in the Steam folder
|
||||||
(
|
(
|
||||||
echo @echo off
|
echo @echo off
|
||||||
echo Check if user is logged on
|
echo REM Check if user is logged on
|
||||||
echo query user ^| find /i "%USERNAME%" ^>nul
|
echo query user ^| find /i "%USERNAME%" ^>nul
|
||||||
echo if ERRORLEVEL 1 exit
|
echo if ERRORLEVEL 1 exit
|
||||||
echo Set Shell back to Explorer
|
echo REM Set Shell back to Explorer
|
||||||
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f
|
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f
|
||||||
echo timeout /t 20 /nobreak ^>nul
|
echo timeout /t 20 /nobreak ^>nul
|
||||||
echo start C:\Windows\explorer.exe
|
echo start "" "%EXPLORER_PATH%"
|
||||||
echo timeout /t 10 /nobreak ^>nul
|
echo timeout /t 10 /nobreak ^>nul
|
||||||
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%STEAM_PATH%" /f
|
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%STEAM_PATH%" /f
|
||||||
) > "%SCRIPT_PATH%"
|
) > "%SCRIPT_PATH%"
|
||||||
|
|
||||||
echo Create XML file for the scheduled task
|
echo Create XML file for the scheduled task
|
||||||
|
Loading…
x
Reference in New Issue
Block a user