From 4153a4336cec028f7c53f9b1b339adc05dfaf29c Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Sat, 12 Oct 2024 21:35:23 -0700 Subject: [PATCH] Update Enable GamesDows.bat Changed query user to whoami --- Enable GamesDows.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Enable GamesDows.bat b/Enable GamesDows.bat index c0d64b4..ccc426c 100644 --- a/Enable GamesDows.bat +++ b/Enable GamesDows.bat @@ -25,7 +25,7 @@ echo Create the DelayedExplorerStart.bat script in the Steam folder ( echo @echo off echo Check if user is logged on -echo query user ^| find /i "%USERNAME%" ^>nul +echo whoami ^| find /i "%USERNAME%" ^>nul echo if ERRORLEVEL 1 exit echo Set Shell back to Explorer echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f