This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]