From deba33efaf4d7accbe58b406b217f0a5d4bdcbb8 Mon Sep 17 00:00:00 2001 From: jazir5 <31750063+jazir555@users.noreply.github.com> Date: Sat, 12 Oct 2024 21:37:39 -0700 Subject: [PATCH] Update Enable GamesDows Playnite.bat --- Enable GamesDows Playnite.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Enable GamesDows Playnite.bat b/Enable GamesDows Playnite.bat index 6a3a3cf..f8d75e9 100644 --- a/Enable GamesDows Playnite.bat +++ b/Enable GamesDows Playnite.bat @@ -24,10 +24,10 @@ echo Creating DelayedExplorerStart.bat script echo Create the DelayedExplorerStart.bat script in the Playnite folder ( echo @echo off -echo Check if user is logged on -echo query user ^| find /i "%USERNAME%" ^>nul +echo rem Check if user is logged on +echo whoami ^| find /i "%USERNAME%" ^>nul 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 timeout /t 20 /nobreak ^>nul echo start C:\Windows\explorer.exe