Double quotes in paths

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
User avatar
mdruiter
Posts: 262
Joined: 22 Feb 2006, 15:33
Location: Amsterdam, The Netherlands
Contact:

Double quotes in paths

Post 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.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: Double quotes in paths

Post by Jan Patera »

The same request now also here.
Post Reply