Files
wLocal/SystemChecks/RunChecks.bat
USER c790d986b1 .
2025-08-22 13:21:40 +01:00

20 lines
393 B
Batchfile

@echo off
setlocal
@REM Get the Windows version
for /f "tokens=4-5 delims= " %%a in ('ver') do (
set version=%%a.%%b
)
@REM Check if the version is Windows 11
if "%version%" geq "10.0.22000" (
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...
exit /b
)
endlocal