I am trying to set a DOS variable like this.
set MPATH = "$MYSQL_PATH"
Here $MYSQL_PATH comes from a different context. The problem is that the variable MPATH never gets set. If I say echo "$MYSQL_PATH", then it properly prints the value contained in $MYSQL_PATH. But when I use echo "%MPATH%" nothing gets printed. Why am I not able to assign the value to MPATH when there is value in $MYSQL_PATH.
0 · ·