windows: 使用 ProductType 判断 Windows Client/Server

This commit is contained in:
bin456789
2026-05-09 22:04:24 +08:00
parent 139c342b7e
commit 65c3085416
2 changed files with 78 additions and 69 deletions

View File

@ -115,6 +115,9 @@ for /f "delims=" %%a in (X:\disk.txt) do (
goto :found_main_disk
)
)
rem 普通 for 是把“一段话”里的“每个词”排成队,让一个变量(%%b轮流去当这些词
rem for /f 是把“一段话”拆成“几个零件”存在不同的变量里(%%i, %%j...
)
)