Problem using literal percent
I have a batch file task setup to run an executable that accepts a URL as a parameter. I'm now trying to update the url to include %20 but am having problems.
My command: Code:
"%RepositoryPath%\Dependencies\PhantomJS\phantomjs.exe" --ignore-ssl-errors=true "vendor\qunit\runner.js" "https://example.com/runner.aspx?jqv=%jqueryVersion%&distro=%LOOP_VALUE%&module=codebooks%%20history" %qunitTimeout% >> "%BuildPath%\qunit.txt" Code:
"D:\Build\repository\Dependencies\PhantomJS\phantomjs.exe" --ignore-ssl-errors=true "vendor\qunit\runner.js" "https://example.com/runner.aspx?jqv=1.9.1&distro=nojqd&module=codebooks0history" |
The percent sign will need to be escaped once for Visual Build (%%) and again for the batch file (%%%%).
http://www.kinook.com/VisBuildPro/Ma...ecialchars.htm http://www.robvanderwoude.com/escapechars.php |
All times are GMT -5. The time now is 06:07 PM. |
Copyright © 1999-2023 Kinook Software, Inc.