On Sat, 21 Nov 2026 01:37:56 -0500, Paul wrote:
> On Sat, 11/21/2026 1:22 AM, Lawrence D’Oliveiro wrote:
>> >> On Fri, 20 Nov 2026 14:21:29 -0500, Paul wrote: >>
>>> bcdedit /store C:\boot\BCD /set {bootmgr} displaybootmenu True
>> >> Slashes to the left of them! Slashes to the right of them! >> Foreslash! Backslash! Rah-rah-rah! >>
> It's a command line syntax. Just like when we put seven backslashes > in some thing we're writing, by "counting all the layers and > dividing by two". It's no different than that. Go to someone elses > environment, learn the rules.
It’s a frankensyntax. It started as some kind of ripoff of DEC-style syntax, e.g. COMPILE OBJECT/slashes, LISTING/more_slashes = SOURCE/even_more_slashes and then in MS-DOS 2, they decided to add hierarchical directories and some other Unix-style features. Instead of copying more DEC-style syntax, they decided to create a bizarro mutation of the Unix syntax, pointing the slashes the other way to avoid confusion with the ones they were already using for command-line switches. And then, a few years after that, they decided to copy Unix-style command-line switches anyway, with leading hyphens instead of slashes. But only with some commands, and not others. Instead of trying to clean up the mess, they just made it worse. And then there are the single-letter drive names, and the even more bizarre “reserved filenames” for accessing non-disk devices. From <http://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html>: Now if just specifying these paths explicitly was all that this process handled it would be annoying but not the end of the world. However it’s much worse. The conversion process actively tries to convert any path with the device name last, even if the path is a Drive Absolute path. To make matters even worse the device name can have arbitrary trailing characters as long the trailing characters are separated from the device by a dot or a colon. The name can then also have trailing spaces. ... Why it does the check is beyond me as it seems to serve no actual purpose. Also note the removal of trailing suffixes, which can come in handy if something is actively trying to guard against this behavior. For example, if an application was mindful and was checking for a filename that matched one of the reserved names you can just bypass that check by appending an arbitrary suffix. (Oh, and I subsequently heard from elsewhere that Google’s analysis, painstaking as it is, may not quite be the last word on this subject.)