Page 1 of 1

Double quotes in paths

Posted: 27 May 2010, 12:20
by mdruiter
Sometimes, I have double quotes around or in a path. For instance:
"C:\Users\michel\AppData\Roaming"\MapInfo\MapInfo\Professional\1000
Or:
"C:\Program Files (x86)\Microsoft Visual Studio 8"
When I paste these into Salamander, it says:
Error Changing Directory
Path: "<current folder here>\"C:"
Error: (123) The filename, directory name, or volume label syntax is incorrect.
And, in a way, it's right.

But when I copy all but the first double quote, pasting just works, despite the second double quote in the middle of the path! Apparently Windows just ignores double quotes in paths.
It would be useful if Salamander would ignore double quotes in paths too, to determine whether a path is absolute or relative. Then, pasting the path including the first double quote would probably also work.

Or maybe a little more is needed. Because pasting this now fails:
C:\"Program Files (x86)\Microsoft Visual Studio 8"
The error is:
Error Changing Directory
Path: "C:\""
Error: The path specified was not found.
Of course it's only a nuisance.

Re: Double quotes in paths

Posted: 01 Oct 2010, 15:07
by Jan Patera
The same request now also here.