X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=MScBgll7KtY/94IDyh5ooDK9dHddaDYiHnSiUahjk/KC2iKoAegkC P+LPcnNX0+aaio0nwJ0xWlFM61S4xfaUxTHWwGGVzCry301qU7cwGK/c1ohVuNCN YD8rnG1GH2DK9cbPMupotdkfRxtN5FMul3fqyCWQjRgMREQd8muFPE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=9lJopWvYQoDXEzSLX0v3k3GtCdI=; b=lOCGEkrh5tTDDYmeCgSFplaUSTER CYsm8aqkYHyhoWELi6cBQD8W0hwD7O19fEmd8YUceLo9Vliyo7fqqV28dFfOiBim DJtOs1mzncNyDPSlsZiJLHNKS3M6kP75tT1ElaHVxgCnCXCkxkZtK/1ytQ3xSwzT P9J2P5f0h+fsd0c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-104.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1321 X-HELO: mout.kundenserver.de Date: Tue, 6 Aug 2019 18:25:35 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: How to query the value of %SystemDrive% in an empty environment? Message-ID: <20190806162535.GT11632@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <089bb243-1dbb-048a-39aa-f54048a39e26 AT ssi-schaefer DOT com> <20190806154154 DOT GR11632 AT calimero DOT vinschen DOT de> <20190806155308 DOT GS11632 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ov6R7U0hl+EAcYoD" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) --ov6R7U0hl+EAcYoD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 6 10:10, Bill Stewart wrote: > On Tue, Aug 6, 2019 at 9:53 AM Corinna Vinschen wrote: >=20 > > How so? SYSTEMDRIVE is the drive SYSTEMROOT is installed on, no? >=20 > https://support.microsoft.com/en-us/help/314470/ >=20 > "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." >=20 > "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." >=20 > "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 =3D=3D "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 --=20 Corinna Vinschen Cygwin Maintainer --ov6R7U0hl+EAcYoD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1Jqf8ACgkQ9TYGna5E T6BTgA/+OoGGTF+QxmHV91cSNDV6j2Rox1huYqFn+i3LxEwYN3/GflsNHcNgoIWV wcYWer4Ef96yWeOPJvqAeteyaMGCGgR6E5OaRTv1A00HFW/LN04rACZRByUZ8h2E +FdB6W+cIx33SvBXyhxcU2i/tbf8pcouG/3qyt+fqgOeFAkkjreeUr39ks32K6Zl Q2YmzREkl3NpsLLk6TXV8U1NxUIse7bvT1W2iuJ18OTbRrIX46Xxs22nw0Y2B6Xz 3jsVXppq2YClV4onULHsBAiEdLD18WtcB2OUAl1CuAnjjdGZ2ol7JnFayrIPei41 8cgEDJlJMb7NDvPxzN8byyuY2DD0iG1UR5KhWGWdwai7JRTJ0Hc9gkHZdxqGM6EF 3IfO7pOxEA6HPyzjG1FBFjq6TvSaz/3PCOE2uRv+u0lMxGza4PeZOn4DnzHeFT32 qr0WZu4XlvURZhzWvF0nGTPi7Cak+WFtGWYXCRJIgrZ0pC750xtPpeJtfwIfYl9+ ULabpNe7gLdaEypHRDyuvv4QhM58PrepCyIjEKXoyLxs0AIxpISOcyps5fx2DRi5 LCedRAukBbqPoO+o/DkmJNZA5/9Kb6Bh8PLWghS/Dwxb+ma/AN9yZb6Zf7f8Fkks vNI7hUj/8o/8LzVX2EKatpZyQTBZzinGx5A5xt1QGq8iVy+Bzbg= =f0lV -----END PGP SIGNATURE----- --ov6R7U0hl+EAcYoD--