This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
winver too restrictive #5
Labels
new-feature
New feature for WSAtools
Comments
Just curious - is there any way to let command prompt detect something like this: Here's the excerpt from the original script: if %check% == 10.0.22000.348 (
:: Success screen
cls
echo Windows version up-to-date, which means it supports Windows Subsystem for Android.
echo Launching in 3 seconds...
timeout 1 > NUL
cls
echo Windows version up-to-date, which means it supports Windows Subsystem for Android.
echo Launching in 2 seconds...
timeout 1 > NUL
cls
echo Windows version up-to-date, which means it supports Windows Subsystem for Android.
echo Launching in 1 seconds...
timeout 1 > NUL
del checkver.bat
cls
cd main
WSATools
pause >nul Wonder that can I just simply change |
Maybe something like this:
|
No, that only works if it is space separated. then more like this one:
Or:
Best regards, |
I think it should be working properly to detect all Win11 versions after changing to this: for /f %%N in ('checkver') do set "check=%%N"
for /f %%N in ('echo %check:~5,5%') do set "check2=%%N"
if %check2% == 22000 (
:: Success screen Thanks. Will use this at v0.0.8b, which will be published later. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
Would be nice if further windows versions would be supported
Describe the solution you'd like
I use the script on 22000.348 successfully (having patched the *.bat)
But maybe it would work on 318 as well... I will check if I can check.
Best regards,
Hendrik
The text was updated successfully, but these errors were encountered: