判断%SystemRoot%\System32\config下面是否存在注册表system,除了BT的淫,否则正常的pe下面不会有system这个注册表。
if not exist %systemroot%\system32\config\system goto pe
:xp
....
goto end
:pe
....
:end
...
原帖由 netwinxp 于 2008-4-27 10:24 PM 发表
判断%SystemRoot%\System32\config下面是否存在注册表system,除了BT的淫,否则正常的pe下面不会有system这个注册表。
if not exist %systemroot%\system32\config\system goto pe
:xp
....
goto end
:pe
...