Skip to content
English
  • There are no suggestions because the search field is empty.

Trouble with double quotes for ProTop on Windows

All double quotes on the right side of a SET statement end up in the value of the variable.  Let's fix that!

Any BAT file SET statement that has the form SET x="y" will misbehave in that the quotes will be in the value as they are in this case. The solution is to rewrite these as SET "x=y". When done in that manner, the quotes do not appear in the value.

Take a moment to be sure your SET statements (most of these live in bin\localenv.bat) surround the assignment, and not just the value.  The latest bin\localenv.batx demonstrates the correct behavior. 

NOTICE: Double quotes are required if the assignment contains spaces. They are optional otherwise.