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.
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.
when you will try to run it from command mode then it will give error like win32 application will not run in dost mode. (not exactly this).
Windows Preinstallation Environment (PE) may be alternate to do this in dos mode. but according to setup program behavior of windows 7; i do not think it can be achieved easily.. need lots of hard work.
you can look for these stuff :
*Install through the bootable Windows 7 DVD or by making Bootable USB-drive for Windows 7 by any software like Win2Flash.