.
This commit is contained in:
22
l_RunChecks.bat
Normal file
22
l_RunChecks.bat
Normal 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
|
||||
Reference in New Issue
Block a user