----------------------------------------------------------------------------------
@MSGID: 3:633/10 f885a161
@REPLY: 3:633/10 d59ae671
@PID: PyGate 1.5.19
@TID: PyGate/Linux 1.5.19
@NOTE: Pan/0.165 (Kostiantynivka)
@CHRS: CP1252 2
@TZUTC: 1100
@REPLYADDR: ldo@nz.invalid
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <11drkoi$3tcnm$2@dont-email.me>
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.)
--- PyGate Linux v1.5.19
* Origin: Dragon`s Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70 221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812 310/31 335/364 341/66 463/68
SEEN-BY: 550/278 633/10 280 281 416 418 420 422 509 2744 712/848 1321 770/1 3
SEEN-BY: 770/100 340 772/210 220 230 5001/100 5005/49 5020/715 848 1042 4441
SEEN-BY: 5020/12000 5023/24 5030/49 722 1081 1474 5051/44 5061/133 5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1 5020/1042 4441 715