本帖最后由 pcl_test 于 2015-7-5 22:17 编辑
- @echo off
- ver|find "6.1." >nul&&(set "v=Win7"&goto end)
- ver|find "6.2." >nul&&(set "v=Win8"&goto end)
- exit
- :end
- if /i "%PROCESSOR_IDENTIFIER:~0,3%" == "X86" (regedit /s "%v%x32位.reg") else (regedit /s "%v%x64位.reg")
- del *.reg
- pause
复制代码
|