On 2023-12-18 09:38, Martin Wege via Cygwin wrote:
On Fri, Dec 1, 2023 at 10:15 AM Corinna Vinschen via Cygwin wrote:
On Nov 30 04:44, Martin Wege via Cygwin wrote:
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?

        https://cygwin.com/cygwin-ug-net/cygpath.html

or maybe

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil
--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to