12-14-2022, 11:27 PM
(12-14-2022, 10:52 PM)Pete Wrote: See for yourself:
Code: (Select All)PRINT "D:\" + " + "Program Files" + " + "\Notepad++\notepad++.exe tmp.three"
vs...
Code: (Select All)PRINT "D:\" + CHR$(34) + "Program Files" + CHR$(34) + "\Notepad++\notepad++.exe tmp.three"
Without using CHR$(34) your other quote marks make no difference. The system just concatenates the strings and concatenation does not include quote marks, unless you code them as CHR$(34).
Pete
Thanks! I will look at that tomorrow. Oops, it's already morning. But I think I have drunk a glass of wine too many - so this afternoon.