Comment by marginalia_nu
4 years ago
I wonder if code to this effect has ever been written before
for (int i = 1; i < INT_MAX; i++) {
if (dirExists("C:\\PROGRA~%d\\ProgramName", i)) {
4 years ago
I wonder if code to this effect has ever been written before
for (int i = 1; i < INT_MAX; i++) {
if (dirExists("C:\\PROGRA~%d\\ProgramName", i)) {
And that, children, is when marginalia_nu unlocked the seventh circle of the inferno. Tomorrow we'll read the story of how our new demon overlords forced us all back to Windows 3.1.
Win 3.1? on DOS 6.22? Actually, this sounds like heaven. Just don't put it on the public 'tubes.
Or do. Can’t hack a Mac Classic web server!
Got to tweak HIMEM.SYS before the slumbering one can be awakened.
PEEK and POKE could break the HIMEM.
For whatever it’s worth, this is a terrible idea, for so many different reasons:
https://web.archive.org/web/20100107184218/http://blogs.msdn...
And so, yes, I’m certain someone must have done it, because it’s clearly bad idea jeans and so Murphy’s Law says it must exist.
Can that work for i > 9 ?
If you mkdir PROGRA~10, yes!