Windows – How to install Windows 7 from MS-DOS

hard driveinstallationms-doswindows 7

Before, I can copy Windows XP CD contents to D:\windowsxp, then

  • Boot DOS CD
  • format C: /s /q

  • D:\windowsxp\i386\winnt.exe

How to install Windows 7 from MS-DOS? I found install from USB only.

Best Answer

I'm not sure why you're booting DOS from a CD, but won't boot Windows 7 from a CD...

Having said that, Windows Vista and newer no longer use DOS during its initial setup, instead opting to use Windows Preinstallation Environment (PE). There is a much more involved setup, requiring that you create a Windows PE image in advance before you can boot it from the Hard Drive.