This commit is contained in:
USER
2025-08-22 16:53:53 +01:00
parent 08e5510705
commit 1a93fccb97
13 changed files with 241 additions and 285 deletions

22
l_RunChecks.bat Normal file
View File

@ -0,0 +1,22 @@
@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
)
@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
)
endlocal