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

René Berber rene.berber@gmail.com
Wed Apr 15 20:49:25 GMT 2020


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.

If setup.exe stores those paths, then its a bug there.

You could have tested that easily, on a cmd window:


C:\Users\reneb>dir \\?\C:\
  Volume in drive \\?\C: is OS
  Volume Serial Number is 922E-C431

  Directory of \\?\C:

12/09/2019  02:52 PM    <DIR>          Apps
01/04/2020  03:11 PM    <DIR>          Boot
04/05/2020  12:12 PM    <DIR>          cygwin64
...
12/24/2019  08:09 PM    <DIR>          Users
04/14/2020  05:45 PM    <DIR>          Windows
                0 File(s)              0 bytes
               14 Dir(s)               0 bytes free

C:\Users\reneb>dir \?\C:\
The filename, directory name, or volume label syntax is incorrect.
-- 
R.B.


More information about the Cygwin mailing list