The additional lines 745+746 in src/shell/shell_cmds.cpp break the behaviour of SET command. It is no more possible assigning strings to a variable that contain
/p. For example, I used to add a line
set dircmd=/p/w in autoexec section. This is now impossible, nor it is for any combination where the assigned string contains
The intention for this change in r3825 may be that you don’t want the SET command supporting the /p option as it is no valid option for the DOS style SET command. But it is neccessary to check if
/p is meant as an option or as a string assignment to a variable (which is quite valid SET behaviour).
I suggest checking if
/p is given before or after the first “=” character, or remove the causing code lines at all.