REG Query HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\MultifunctionAdapter /f RealModeIrqRoutingTable /s >nul
IF %ERRORLEVEL% == 0 echo WinXP has been booted with ntldr
IF %ERRORLEVEL% == 1 echo WinXP has been booted with winload.efi
窄口牛 发表于 2024-11-20 11:01
执行报错,加上跳过错误语句可以执行,但判断并不对。
附上它所读的这个注册表。
2012win98se 发表于 2024-11-20 12:38
报错的是第10行对吗?这一行正好就是检测是否有“RealModeIrqRoutingTable”文件夹,如果有就判定XP从ntl ...
欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) | Powered by Discuz! X3.3 |