Josef Wolf wrote:
But then I decided to remove and reinstall it. (I reinstalled cygwin
only, not the whole machine). Since the reinstall, regtool refuses to
work. It always complains that it can not find the specified file.
Strange enough, cygcheck _is_ able to read information from the
registry.
Here are examples of what I get:
$ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin
Error (2): Das System kann die angegebene Datei nicht finden.
$ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2'
Error (2): Das System kann die angegebene Datei nicht finden.
Any ideas how to track down this problem?
There is no problem in the above commands. Both pathnames specify
existing registry keys, but 'regtool get' reads registry values, which
don't exist in this case.
The following should work:
$ regtool list '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2'
/
/usr/bin
/usr/lib
cygdrive prefix
cygdrive flags
$ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2/cygdrive
prefix'
/cygdrive
--
Christian Franke
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/