From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91367 invoked by alias); 6 Aug 2019 16:25:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 91359 invoked by uid 89); 6 Aug 2019 16:25:40 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Aug 2019 16:25:38 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mo77T-1ifLRE3OA7-00pg3Y for ; Tue, 06 Aug 2019 18:25:35 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 44631A80649; Tue, 6 Aug 2019 18:25:35 +0200 (CEST) Date: Tue, 06 Aug 2019 16:25:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: How to query the value of %SystemDrive% in an empty environment? Message-ID: <20190806162535.GT11632@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <089bb243-1dbb-048a-39aa-f54048a39e26@ssi-schaefer.com> <20190806154154.GR11632@calimero.vinschen.de> <20190806155308.GS11632@calimero.vinschen.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) X-SW-Source: 2019-08/txt/msg00078.txt.bz2 --ov6R7U0hl+EAcYoD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1276 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" Content-length: 833 -----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--