Eryk Sun added the comment:
A literal backlash has to be escaped by doubling it if it precedes a double
quote, else it escapes the double quote character. This is how typical
command-line argument parsing handles backslash in Windows [1]:
* 2n backslashes followed by a quotation mark
New submission from DMI-1407 :
If the windows installer (Python 3.8.9 64bit exe) is run in quiet mode and the
TargetDir option is used, then the last quote (") symbol gets escaped if the
path ends with an backslash (\).
Example: /quiet TargetDir="D:\pyt hon\" AssociateFiles=0
Result: