This commit is contained in:
USER
2025-08-22 15:06:44 +01:00
parent 36f9487ca0
commit 94e49c6f0a
2 changed files with 14 additions and 2 deletions

View File

@ -9,10 +9,19 @@ for /f "tokens=4-5 delims= " %%a in ('ver') do (
@REM Check if the version is Windows 11
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
) else (
echo This script is not running on Windows 11. Exiting...
echo "This script is not running on Windows 11. Exiting..."
exit /b
)
@REM Check if the version is Windows 10
if "%version%" geq "10.0.19045" (
echo "This script is running on Windows 10."
C:\Scripts\wLocal\SystemChecks\Win10Checks.bat
) else (
echo "This script is not running on Windows 11. Exiting..."
exit /b
)