News for hackers. Stuff that matters.
Re:Ask HN: Strange bug workarounds? by dsp1234 on Monday September 12, 2016 @02:26PM (#12482299)
In a similar vein, I was messing around with Windows filenames. Using the extended path syntax, it's possible to use reserved words in a windows file name (com1.txt in this case)[0]. This breaks most tools that use the Win32 API (explorer, notepad, most COM components, IIS, etc). I showed everyone around the office, and laughs were had.

Fast forward a bit and a new backup system is being put in place. But it keeps breaking, but only on this box. While researching the issue, explorer keeps breaking when doing searches and third party search tools keep breaking.

Took me a little bit to remember what I'd done and fix it.

[0] - https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...

Re:Ask HN: Strange bug workarounds? by daveloyall on Monday September 12, 2016 @03:47PM (#12483033)
Gosh, this takes me back. There was some special filename you could give a directory on Win98SE which would result in it being truly hidden, but the contents still accessible via some arcane workaround. I made such a directory on my first computer, then forgot about it, and--as in your story--eventually remembered it when trying to back up the filesystem.

Does anybody know the nature of the hidden directory hack I've referred to?

Re:Ask HN: Strange bug workarounds? by 1wd on Monday September 12, 2016 @04:33PM (#12483383)
A friend showed me a trick where he typed a couple of assembly instructions in debug.com to change the DOS AUX device to something like BUX. That allowed creating or accessing an AUX directory. The converse assembly instructions would restore the AUX device and completely hide the AUX directory.
Re:Ask HN: Strange bug workarounds? by ninjaoxygen on Monday September 12, 2016 @04:09PM (#12483219)
We used to make directories with just the character 255 (a hard space) as the filename. It would totally mess up File Manager in Win 3.1 (the tree would collapse when you touched the entry) and behaved very oddly in Win95/98 if I remember correctly. Maybe that is it?
Re:Ask HN: Strange bug workarounds? by daveloyall on Monday September 12, 2016 @05:40PM (#12483925)
Re:Ask HN: Strange bug workarounds? by abricot on Wednesday September 14, 2016 @02:19PM (#12499774)
My high school (back in 2000) had a visit from a german gentleman who uploaded porn to their public ftp(!?).

When we (another student and I, also a student) tipped the Teacher-cum-admin off, the folders masqueraded as a printer in the NT file explorer. They couldn't delete them.

We recommended that they wiped the machine and disabled public ftp. (weren't that big of an issue as it was mostly a print server).