Re: Percent signs in Windows paths

Edward Diener via Boost-build <[email protected]> Thu, 10 Sep 2020 13:12:04 -0400
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
On 9/10/2020 10:34 AM, Chambers, Matthew via Boost-build wrote:
> 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?

If you put double quotes around any string(s) you pass to Boost Build it 
will automatically remove those quotes internally, while your OS command 
processor will not normally consider special characters within double 
quotes.


_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build