, .
, , , set "1var=foo", , %1 %1var%, , , var%. , ~ parser, , , %~dp0. , (set "~dp=bar"), %~dp%, :
The following usage of the path operator in batch-parameter substitution is invalid: %~dp%
Access to such variables is still possible with the help of a delayed extension ( !1var!, !~dp!), but for clarity, it is better not to start the variable names with a digit or tilde.
source
share