Double quotes in paths

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

Double quotes in paths

Post by mdruiter » 27 May 2010, 12:20

Sometimes, I have double quotes around or in a path. For instance:
"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

Re: Double quotes in paths

Post by Jan Patera » 01 Oct 2010, 15:07

The same request now also here.

Post Reply