Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <va0eaa$31dc3$1@dont-email.me>
Deutsch   English   Français   Italiano  
<va0eaa$31dc3$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Mon, 19 Aug 2024 23:43:40 +0200
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <va0eaa$31dc3$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
 <g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
 <uvbe3m$2cun7$1@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
 <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
 <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
 <choices-20240413123957@ram.dialup.fu-berlin.de>
 <v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
 <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
 <v9posc$1rpdj$1@dont-email.me> <v9pvoo$1sn55$1@dont-email.me>
 <v9r60h$2289h$2@dont-email.me> <v9sa91$2afht$1@dont-email.me>
 <v9tv8o$2iahp$1@dont-email.me> <v9uso3$2pdrg$2@dont-email.me>
 <v9v0n6$2q8h3$1@dont-email.me> <v9v8pr$2r6q2$2@dont-email.me>
 <87cym4cl4q.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Aug 2024 23:43:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7f0f8cffd5f8b7dd36dcbeaaba75ce11";
	logging-data="3192195"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/QpVlEypf8Q5/ItnjczoMLJ+xrZuFeJMM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:oR4f7zjWV0PHqgrqIArf5ZY9v3Q=
Content-Language: en-US
In-Reply-To: <87cym4cl4q.fsf@nosuchdomain.example.com>
Bytes: 2972

On 2024-08-19 22:28, Keith Thompson wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>> On 2024-08-19 10:45, Lawrence D'Oliveiro wrote:
>>> On Mon, 19 Aug 2024 09:37:39 +0200, Dmitry A. Kazakov wrote:
> [...]
>>>>> And single drive letters?
>>>>
>>>> They are dozens characters long actually, if you mean the device names.
>>> Drive names are only single letters. You’re not talking about
>>> reserved
>>> file names, are you?
>>
>> No, I am talking about proper file paths under Windows. Letters is a
>> DOS layer on top of it. E.g. see QueryDosDeviceW call.
> 
> OK, I tried a test program that invokes QueryDosDeviceW() on L"C:".
> The result was "\Device\HarddiskVolume4".  (That's not a C string
> literal.  It contains two single backslash characters.)
> 
> What can I do with that string?

You can use it in CreateFile. In fact there are cases when you should. I 
remotely remember a problem determining if the file is same and opening 
it. It failed miserably on letters created by the SUBST command.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de