Cygwin UNC path conversion functions?

Martin Wege martin.l.wege@gmail.com
Mon Dec 18 16:38:00 GMT 2023


On Fri, Dec 1, 2023 at 10:15 AM Corinna Vinschen via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Nov 30 04:44, Martin Wege via Cygwin wrote:
> > Hello,
> >
> > does Cygwin have UNC path conversion functions, for example UNC path
> > to DOS mount letter, UNC path to file URL?
>
> Neither Cygwin nor Windows really care for that when using paths.
> Either you use a drive letter or you use an UNC path, and either it
> exists or not.  Everything else is done in the mount manager or kernel.
>
> If you want to look for drive letter to UNC path conversion, you can
> utilise QueryDosDevice.

Does Cygwin have a command line tool for that?

Thanks,
Martin


More information about the Cygwin mailing list