Greetings, Soren!
> Hello users. I have a reasonably recently installed Cygwin that I've kept
> updated with setup. I am just now seeing that the provided `cygpath`
> command no longer works the way it ought to. Could someone(s) confirm or
> deny this? And fix it, because it is an important facility.
> $ cygpath -ua --short-name '/cygdrive/c/Users/somia/Local Settings'
> [dumps you into "help"]
> $ cygpath --version
> cygpath (cygwin) 3.5.4
> Appreciation in advance for your interest and help.
Adding to the previous responses, there could simply be no short name.
Check `cmd /C DIR /X`.
Or for a more common solution, a batch script like
@FOR %%i IN (%*) DO ECHO %%~si
will be helpful. Pass it a list of names/paths and it will print the short
versions of them line by line.
--
With best regards,
Andrey Repin
Friday, November 15, 2024 15:59:39
Sorry for my terrible english...
--
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