the description on the echo.html can be improved.
This might be more robust, but still not goodA more robust alternative is to separate with : instead of a space.
ECHO:%_department%

It fails for
Code: Select all
set "var=\..\..\..\..\windows\system32\calc.exe"
echo:%var%
This is only true in the command line context, in a batch file this works flawlessly.Using Echo:in this way does have some limitations:
If the variable does not exist, ECHO: will return the variable name"%_var%"
It has nothing to do with the "echo:" command, it's only an effect of the different variable expansion rules in the command line context.
jeb