This commit is contained in:
USER
2025-08-22 15:09:29 +01:00
parent 94e49c6f0a
commit 08e5510705

View File

@ -11,18 +11,12 @@ for /f "tokens=4-5 delims= " %%a in ('ver') do (
if "%version%" geq "10.0.22000" ( if "%version%" geq "10.0.22000" (
echo "This script is running on Windows 11." echo "This script is running on Windows 11."
C:\Scripts\wLocal\SystemChecks\Win11Checks.bat C:\Scripts\wLocal\SystemChecks\Win11Checks.bat
) else (
echo "This script is not running on Windows 11. Exiting..."
exit /b
) )
@REM Check if the version is Windows 10 @REM Check if the version is Windows 10
if "%version%" geq "10.0.19045" ( if "%version%" geq "10.0.19045" (
echo "This script is running on Windows 10." echo "This script is running on Windows 10."
C:\Scripts\wLocal\SystemChecks\Win10Checks.bat C:\Scripts\wLocal\SystemChecks\Win10Checks.bat
) else (
echo "This script is not running on Windows 11. Exiting..."
exit /b
) )
endlocal endlocal