Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed
Andrey Repin
anrdaemon@yandex.ru
Tue Nov 15 18:56:00 GMT 2016
Greetings, OwN-3m-All!
> Thanks guys. That was it. I decided to remove the trailing slash for
> my purposes.
> set WD=%~dp0
> set WD=%WD:~0,-1%
> It's working now!
Alternatively, you could translate backslashes to regular slashes. Should work
too.
SETLOCAL ENABLEEXTENSIONS
SET CWD=%CD:\=/%
P.S.
This list is in "no top posting, please, thank you" mode.
--
With best regards,
Andrey Repin
Tuesday, November 15, 2016 16:13:53
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list