News for hackers. Stuff that matters.
Re:What if you delete the “Program Files” folder in Windows?... by EvanAnderson on Monday December 12, 2022 @04:42PM (#33960844)
MS-DOS has never been used in Windows NT and its descendant operation systems to support booting.

Prior to Windows Vista the real mode code in the MBR loads NTLDR[0] which switches to protected mode and runs osloader.exe to boot the kernel. Post-Vista this is handled by the BOOTMGR[1] bootloader.

[0] https://en.wikipedia.org/wiki/NTLDR

[1] https://en.wikipedia.org/wiki/Booting_process_of_Windows_NT_...

Re:What if you delete the “Program Files” folder in Windows?... by matchagaucho on Monday December 12, 2022 @05:41PM (#33961501)
Windows NT and the systems based on it are not based on MS-DOS, but use a virtual machine, NTVDM, to handle the DOS API.

[0] https://en.wikipedia.org/wiki/DOS_API

Games like Doom still run on Windows because of this DOS virtualization.

Re:What if you delete the “Program Files” folder in Windows?... by EvanAnderson on Monday December 12, 2022 @08:33PM (#33963423)
Indeed, which has nothing to do with booting.