Re: Whats the %=C:% environment variable used for ?

"J. P. Gilliver" <[email protected]> Sat, 7 Feb 2026 00:05:56 +0000
Newsgroups alt.comp.os.windows-xp,alt.windows7.general,alt.comp.os.windows-10
Organization 255 software
Message-ID <[email protected]>
On 2026/2/6 18:16:15, R.Wieser wrote:

[]

> Bottom line :
> The question still stands : What is the "=C:" environment variable used for 
> ?
> 
> Regards,
> Rudy Wieser
> 
> 
The command prompt remembers what directory is the current one for each
"drive letter" you switch to (which can be partitions, drives, SUBSTed
"drives", or IIRR network drives).

It obviously has to remember that _some_where. Whether an "environment
variable" is a good choice for that is above my pay grade. But that's
what it is used for: if in a command prompt you switch to a different
drive letter, it remembers what directory you were in last tome you left
that letter.

-- 
J. P. Gilliver. UMRA: 1960/<1985 MB++G()ALIS-Ch++(p)Ar++T+H+Sh0!:`)DNAf

... the pleasure of the mind is an amazing thing. My life has been
driven by the satisfaction of curiosity. - Jeremy Paxman (being
interviewed by Anne Widdecombe), Radio Times, 2-8 July 2011.