And Windows only does this if there are no unquoted characters after the last quotation mark:When reading from ini files, Windows removes any surrounding double quotes
Editor="%COMMANDER_PATH%\AkelPad.exe" "%1"
-> %COMMANDER_PATH%\AkelPad.exe" "%1
but:
Editor="%COMMANDER_PATH%\AkelPad.exe" "%1" /p
-> "%COMMANDER_PATH%\AkelPad.exe" "%1" /p
Same if there is unquoted characters before the first quotation mark
Editor=%COMSPEC% /C echo "%COMMANDER_PATH%\AkelPad.exe" "%1"
-> "%COMMANDER_PATH%\AkelPad.exe" "%1"
but:
Editor="%COMMANDER_PATH%\AkelPad.exe "%1"
-> %COMMANDER_PATH%\AkelPad.exe "%1"