Board logo

标题: [系统增强] 轻松整合自己Windows7多合一光盘 [打印本页]

作者: fastslz    时间: 2011-6-3 15:49     标题: 轻松整合自己Windows7多合一光盘

一张3.96G光盘包含所有版本的Windows 7 ,包括x86和x64
  1. @echo off
  2. :ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/
  3. :ed2k://|file|cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso|2653276160|7503E4B9B8738DFCB95872445C72AEFB|/
  4. set "DP=%~dp0"
  5. set "DP=%DP:~0,-1%"
  6. set "DPF=Win7_SP1_x86_x64_CN_Full"
  7. if exist "%DPF%\*" rd /s/q "%DPF%"
  8. set "x86iso=%DP%\cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso"
  9. set "x64iso=%DP%\cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso"
  10. set "newiso=%DP%\cn_windows_7_with_sp1_x86_x64_full_dvd_u_677486_677408.iso"
  11. if not exist "%x86iso%" echo 先下载Win7 SP1 MSDN 2011-5-12 原版镜像,不要改名放在当前目录里&pause&exit
  12. if not exist "%x64iso%" echo 先下载Win7 SP1 MSDN 2011-5-12 原版镜像,不要改名放在当前目录里&pause&exit
  13. del /f/a/q "%newiso%" >nul 2>nul
  14. del /f/a/q "%DP%\*6*.WIM" >nul 2>nul
  15. del /f/a/q "%DP%\install.wim" >nul 2>nul
  16. 7z e "%x86iso%" -o"%DP%" -i!install.wim -r -y&&ren install.wim x86.wim
  17. 7z e "%x64iso%" -o"%DP%" -i!install.wim -r -y&&ren install.wim x64.wim
  18. 7z x "%x86iso%" -o"%DPF%" * -x!install.wim -r -y
  19. IMAGEX /EXPORT "%DP%\x86.WIM" 5 "%DP%\install.wim" "Windows 7 Ultimate 旗舰版 32位"
  20. IMAGEX /EXPORT "%DP%\x64.WIM" 4 "%DP%\install.wim" "Windows 7 Ultimate 旗舰版 64位"
  21. IMAGEX /EXPORT "%DP%\x86.WIM" 4 "%DP%\install.wim" "Windows 7 Professional 专业版 32位"
  22. IMAGEX /EXPORT "%DP%\x64.WIM" 3 "%DP%\install.wim" "Windows 7 Professional 专业版 64位"
  23. IMAGEX /EXPORT "%DP%\x86.WIM" 3 "%DP%\install.wim" "Windows 7 Home Premium 家庭高级版 32位"
  24. IMAGEX /EXPORT "%DP%\x64.WIM" 2 "%DP%\install.wim" "Windows 7 Home Premium 家庭高级版 64位"
  25. IMAGEX /EXPORT "%DP%\x86.WIM" 2 "%DP%\install.wim" "Windows 7 Home Basic 家庭普通版 32位"
  26. IMAGEX /EXPORT "%DP%\x64.WIM" 1 "%DP%\install.wim" "Windows 7 Home Basic 家庭普通版 64位"
  27. IMAGEX /EXPORT "%DP%\x86.WIM" 1 "%DP%\install.wim" "Windows 7 Starter 简易版 32位"
  28. move /y "%DP%\install.wim" "%DPF%\sources\"
  29. >"%DPF%\sources\ei.cfg" echo [EditionID]
  30. >>"%DPF%\sources\ei.cfg" echo Ultimate
  31. >>"%DPF%\sources\ei.cfg" echo Professional
  32. >>"%DPF%\sources\ei.cfg" echo HomePremium
  33. >>"%DPF%\sources\ei.cfg" echo HomeBasic
  34. >>"%DPF%\sources\ei.cfg" echo Starter
  35. >>"%DPF%\sources\ei.cfg" echo [Channel]
  36. >>"%DPF%\sources\ei.cfg" echo Retail
  37. >>"%DPF%\sources\ei.cfg" echo [VL]
  38. >>"%DPF%\sources\ei.cfg" echo 5
  39. del /f/a/q "%DP%\*6*.WIM"
  40. rem 创建光盘有2种方式oscdimg.exe或cdimage.exe,任选一
  41. oscdimg.exe  -l"%DPF%" -t04/13/2011,00:18:00 -h -u2 -b"%DP%\etfsboot.com" -x -o -oc -m "%DP%\%DPF%" "%newiso%"
  42. :cdimage -b"%DP%\etfsboot.com" -g -l"%DPF%" -o -t04/12/2011,16:18:00 -u2 "%DP%\%DPF%" "%newiso%"
复制代码
http://pan.baidu.com/share/link?shareid=4150332369&uk=1124163200
作者: 523066680    时间: 2011-6-3 15:59

这个,这个……  发在消遣区鸭梨好大
作者: fastslz    时间: 2011-6-3 16:22

没办法,论坛空间还是要节约的,不完整就发这里了
如果下载繁体英文...版的用这个方法一起整合
作者: Demon    时间: 2011-6-3 23:02

Windows AIK
作者: hnqx    时间: 2012-4-2 17:58

原本以为是条舟,谁知道这只舟这么大个哦!学不玩了
作者: ccx0905    时间: 2013-5-26 01:39

真是好东西啊  !!!!!!很实用啊!!!
作者: xiaozhou309    时间: 2013-8-15 10:49

多谢楼主分享!




欢迎光临 批处理之家 (http://bathome.net./) Powered by Discuz! 7.2