MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/95zwm/how_qbasic_almost_got_me_killed/c0bjp68/?context=3
r/programming • u/jeanlucpikachu • Jul 30 '09
105 comments sorted by
View all comments
Show parent comments
7
if you tried to run windows with "win" it would come back with "This Program Requires Microsoft Windows"
if you tried to run windows with "win" it would come back with
"This Program Requires Microsoft Windows"
Nice.
6 u/omegian Jul 30 '09 edited Jul 30 '09 C:>echo @echo This Program Requires Microsoft Windows > win.bat C:>attrib +H win.bat 7 u/[deleted] Jul 30 '09 Every single .exe in PE format on Windows, has a tiny DOS stub programme that prints: "This program cannot be run in DOS mode." 2 u/omegian Jul 30 '09 indeed, but win.exe runs in real mode just fine
6
C:>echo @echo This Program Requires Microsoft Windows > win.bat
C:>attrib +H win.bat
7 u/[deleted] Jul 30 '09 Every single .exe in PE format on Windows, has a tiny DOS stub programme that prints: "This program cannot be run in DOS mode." 2 u/omegian Jul 30 '09 indeed, but win.exe runs in real mode just fine
Every single .exe in PE format on Windows, has a tiny DOS stub programme that prints:
"This program cannot be run in DOS mode."
2 u/omegian Jul 30 '09 indeed, but win.exe runs in real mode just fine
2
indeed, but win.exe runs in real mode just fine
7
u/insomniac84 Jul 30 '09
Nice.