Re: Percent signs in Windows paths
Paul Bristow via Boost-build <[email protected]> Thu, 10 Sep 2020 15:02:58 +0000
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <CWLP265MB203407CF09904F607F11F7EFD3270@CWLP265MB2034.GBRP265.PROD.OUTLOOK.COM> |
> -----Original Message----- > From: Boost-build <[email protected]> On Behalf Of Chambers, Matthew via Boost- > build > Sent: 10 September 2020 15:34 > To: Boost.Build developer's and user's list <[email protected]> > Cc: Chambers, Matthew <[email protected]> > Subject: [Boost-build] Percent signs in Windows paths > > I'm trying to pass a filename with a % in it to a run target and running into an issue with the % > disappearing because of Windows cmd processing. If I double up the % in the run target, just like I > would in a Windows batch file, it works. Should Boost.Build handle this automatically? Do you need to escape the % ?? rule escape ( string : symbols : escape-symbol ) Escapes all of the characters in symbols using the escape symbol escape-symbol for the given string, and returns the escaped string. https://boostorg.github.io/build/manual/develop/index.html But as ever no example given to make this clear :-( Might help? Paul _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build