Re: cygpath and unc paths

2024-12-16 Thread Federico Kircheis via Cygwin
This way, you're testing command interpreter, not WinApi. The command interpreter has its own ideas about what you can and can not use with it. Yes, after I saw it works with "-literal" I convinced my self it is a bug in PowerShell (I guess they strip the trailing \, but who knows). But then

Re: cygpath and unc paths

2024-12-16 Thread Andrey Repin via Cygwin
Greetings, Federico Kircheis! >>> 1) >>> root path, like C:\ , because for whatever reason \\?\C:\ is not valid, it >>> has to be a subfolder (and trying to trick it with \\?\C:\\ does not work >>> either). >> > In which scenario? \\?\C:\ is just the same as \??\C:\ in NT speak, and >> that's a p

Re: cygpath and unc paths

2024-12-10 Thread Corinna Vinschen via Cygwin
On Dec 6 13:23, Federico Kircheis via Cygwin wrote: > Hello, > > was it considered to add a flag to cygpath to output a path in unc format? > > > For example, the folder > > C:\test. > > cannot be accessed from many Windows applications (powershell and cmd > included) because of the trailing

Re: cygpath and unc paths

2024-12-09 Thread Corinna Vinschen via Cygwin
On Dec 9 14:48, Federico Kircheis via Cygwin wrote: > On 09/12/2024 14.17, Corinna Vinschen via Cygwin wrote: > > On Dec 9 13:47, Federico Kircheis via Cygwin wrote: > > > 1) > > > root path, like C:\ , because for whatever reason \\?\C:\ is not valid, it > > > has to be a subfolder (and trying t

Re: cygpath and unc paths

2024-12-09 Thread Federico Kircheis via Cygwin
On 09/12/2024 14.17, Corinna Vinschen via Cygwin wrote: On Dec 9 13:47, Federico Kircheis via Cygwin wrote: On 09/12/2024 12.46, Corinna Vinschen via Cygwin wrote: On Dec 6 13:23, Federico Kircheis via Cygwin wrote: Hello, was it considered to add a flag to cygpath to output a path in unc f

Re: cygpath and unc paths

2024-12-09 Thread Corinna Vinschen via Cygwin
On Dec 9 13:47, Federico Kircheis via Cygwin wrote: > On 09/12/2024 12.46, Corinna Vinschen via Cygwin wrote: > > On Dec 6 13:23, Federico Kircheis via Cygwin wrote: > > > Hello, > > > > > > was it considered to add a flag to cygpath to output a path in unc format? > > > > No. But it wouldn't

Re: cygpath and unc paths

2024-12-09 Thread Federico Kircheis via Cygwin
On 09/12/2024 12.46, Corinna Vinschen via Cygwin wrote: On Dec 6 13:23, Federico Kircheis via Cygwin wrote: Hello, was it considered to add a flag to cygpath to output a path in unc format? No. But it wouldn't be much work. It would be very nice if it ever happens. For example, the fold

Re: cygpath and unc paths

2024-12-09 Thread Corinna Vinschen via Cygwin
On Dec 6 13:23, Federico Kircheis via Cygwin wrote: > Hello, > > was it considered to add a flag to cygpath to output a path in unc format? No. But it wouldn't be much work. > > > For example, the folder > > C:\test. > > cannot be accessed from many Windows applications (powershell and cmd

cygpath and unc paths

2024-12-06 Thread Federico Kircheis via Cygwin
Hello, was it considered to add a flag to cygpath to output a path in unc format? For example, the folder C:\test. cannot be accessed from many Windows applications (powershell and cmd included) because of the trailing dot, while cygwin has no issue creating, accessing and deleting such fil