View Single Post
  #1  
Old 05-12-2015, 10:17 AM
rnauman rnauman is online now
Registered User
 
Join Date: 07-16-2013
Posts: 3
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"
Transformed into:

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"
Have I overlooked a syntax nuance?
Reply With Quote