public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: How to query the value of %SystemDrive% in an empty environment?
Date: Tue, 06 Aug 2019 16:25:00 -0000	[thread overview]
Message-ID: <20190806162535.GT11632@calimero.vinschen.de> (raw)
In-Reply-To: <CANV9t=QD9kWAD+Y_eDw5tbv7ZuK0Y7pN-P7oqQu46VKihUwzKA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]

On Aug  6 10:10, Bill Stewart wrote:
> On Tue, Aug 6, 2019 at 9:53 AM Corinna Vinschen wrote:
> 
> > How so?  SYSTEMDRIVE is the drive SYSTEMROOT is installed on, no?
> 
> https://support.microsoft.com/en-us/help/314470/
> 
> "The system volume refers to the disk volume that contains the
> hardware-specific files that are needed to start Windows, such as
> Ntldr, Boot.ini, and Ntdetect.com."
> 
> "The boot volume refers to the disk volume that contains the Windows
> operating system files and the supporting files. By default, the
> Windows operating system files are in the WINDOWS folder, and the
> supporting files are in the WINDOWS\System32 folder."
> 
> "The boot volume can be the same volume as the system volume. However,
> this configuration is not required. There is only one system volume.
> However, there is one boot volume for each operating system in a
> multiboot system."

Nothing in there says that SYSTEMDRIVE == "system volume".

https://en.wikipedia.org/wiki/Environment_variable#Windows claims that
"The %SystemDrive% variable is a special system-wide environment
variable found on Windows NT and its derivatives. Its value is the drive
upon which the system directory was placed."


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-08-06 16:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-06 15:20 Michael Haubenwallner
2019-08-06 15:41 ` Corinna Vinschen
2019-08-06 15:47   ` Bill Stewart
2019-08-06 15:53     ` Corinna Vinschen
2019-08-06 16:10       ` Bill Stewart
2019-08-06 16:25         ` Corinna Vinschen [this message]
2019-08-06 17:08           ` Bill Stewart
2019-08-07  2:33 ` Brian Inglis
2019-08-07 11:09   ` Michael Haubenwallner
2019-08-07 11:19     ` Corinna Vinschen
2019-08-07 12:41       ` Michael Haubenwallner
2019-08-07 14:31         ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190806162535.GT11632@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).