Wykryj, czy używasz systemu Windows 10 lub 11 za pomocą skryptu wsadowego

systeminfo | findstr /i /c:"windows 11" > nul && {code here for windows 11} || {code here for not windows 11}