This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to query the value of %SystemDrive% in an empty environment?


On Tue, Aug 6, 2019 at 9:42 AM Corinna Vinschen wrote:
>
> On Aug  6 17:20, Michael Haubenwallner wrote:
> > Now what I've failed to find is how to query the value for the "SystemDrive"
> > environment variable.
>
> Just strip it off SYSTEMROOT?

IIRC, that will not give the expected value if Windows is installed on
a different drive.

Bill

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]