This RFE/suggestion deals with the current inconsistent quoting of variables in the toolbar icons. My idea/syntax to solve the problem is as follow:
suggestion: %"N"
Instead of unnecessarily introducing a whole set of new parameters with non-intuitive/unrelated letters which the TC user has to learn, it would be sufficient and much more elegant to just use the EXISTING variables combined with a modifier character ("). It's function is to change the variable to a quoted one, as follows:
i.e.
Now here comes the second part:%N .......... TC doesn't add quotes (under no circumstances)
%"N ......... TC only adds quotes if necessary
%"N" ........ force TC to add quotes (under all circumstances)
same with e.g. %P:
%P .......... no quotes
%"P ......... qutoes if necessary
%"P" ........ forced quotes
Variable combinations (formerly %P%N) should be merged as follows:
This has 2 advantages:%PN .......... no quotes
%"PN ......... quotes if necessary
%"PN" ........ forced quotes
(1) syntax is easier readable and understandable
(2) the alternate syntax %"P"%"N" is problematic for many reasons:
(A) the user would expect that path and filename are quoted separately, i.e. "c:\path\""filename.ext"
(B) ambiguous situations can arise where quoted variables are combined with unquoted (i.e. %P%"N"), how should TC handle this?
For this reasons, the syntax %"PN" is more intuitive and also avoids abovementioned problems.