Can I find where cygwin is installed (for automation purposes)
Wed Apr 15 10:51:53 GMT 2020
On Wed, Apr 15, 2020 at 12:30 PM Paul Moore via Cygwin <firstname.lastname@example.org>
> I'm trying to write an automation script that works on a number of
> machines. I know that on all machines Cygwin will be installed, but I
> cannot guarantee that (1) it will be in the same location on each PC,
> or (2) that it will be in PATH.
> There's HKCU\Software\Cygwin\Installations, but that seems to use \??
> prefixes on the PATH, which I'm not sure how to interpret
On my machine, I have a
key, which contains a string value named "rootdir" with the date
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant
to get the wrong information: this is what you want. - Scott Meyers
More information about the Cygwin