Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread René Berber via Cygwin
On 4/15/2020 1:39 PM, Paul Moore via Cygwin wrote: https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats Look for "DOS device paths" Thanks. That's \\?\C:\... and what I'm seeing is \??\C:\... Is that just a typo/bug? That's the discrepancy that was confusing me :-( A bug.

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 19:31, René Berber via Cygwin wrote: > > On 4/15/2020 1:10 PM, Paul Moore via Cygwin wrote: > > [snip] > > Thanks. Can you explain what the \?? prefix on the Installations > > values is about? I'm nervous that there's something going on there > > that means that just

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread René Berber via Cygwin
On 4/15/2020 1:10 PM, Paul Moore via Cygwin wrote: [snip] Thanks. Can you explain what the \?? prefix on the Installations values is about? I'm nervous that there's something going on there that means that just ignoring the first 3 characters isn't sufficient... ;-)

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 16:54, Marco Atzeri via Cygwin wrote: > > Am 15.04.2020 um 15:29 schrieb Paul Moore via Cygwin: > > On Wed, 15 Apr 2020 at 11:54, Csaba Ráduly via Cygwin > > wrote: > > > >> On my machine, I have a > >> > >> HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup > >> > >> key, which

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Marco Atzeri via Cygwin
Am 15.04.2020 um 15:29 schrieb Paul Moore via Cygwin: On Wed, 15 Apr 2020 at 11:54, Csaba Ráduly via Cygwin wrote: On my machine, I have a HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup key, which contains a string value named "rootdir" with the date "C:\cygwin64". Thanks, that looks more

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 13:43, Thomas Wolff wrote: > >> There's HKCU\Software\Cygwin\Installations, but that seems to use \?? > >> prefixes on the PATH, which I'm not sure how to interpret > Running that script within cygwin? `mount | grep " / "` As I said, I'm trying to find cygwin, so I can't

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Paul Moore via Cygwin
On Wed, 15 Apr 2020 at 11:54, Csaba Ráduly via Cygwin wrote: > On my machine, I have a > > HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup > > key, which contains a string value named "rootdir" with the date > "C:\cygwin64". Thanks, that looks more useful. I didn't think to check there as I didn't

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Thomas Wolff
Am 15.04.2020 um 12:51 schrieb Csaba Raduly via Cygwin: Hi Paul, On Wed, Apr 15, 2020 at 12:30 PM Paul Moore via Cygwin wrote: 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

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Csaba Ráduly via Cygwin
Hi Paul, On 15/04/2020 12:29, Paul Moore via Cygwin wrote: 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

Re: Can I find where cygwin is installed (for automation purposes)

2020-04-15 Thread Csaba Raduly via Cygwin
Hi Paul, On Wed, Apr 15, 2020 at 12:30 PM Paul Moore via Cygwin wrote: > 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)