Page 1 of 1

strip " from browserpath?

Posted: Tue Aug 29, 2006 10:59 am
by loth
hi all,

in browsermode:
if the path, the user copy+pasted is like "P:\pics\Comix\M\Maroto, Esteban"
(with the ") then xnview doesnt browse/show this folder. only, if i dont use the "

i would like to consider, that xnview could strip the " itself (or ignore them?), so that the user doenst have to manually remove/strip them.
only for the lazy guys, which don't type but only copy+paste text :)

any suggestions?

Re: strip " from browserpath?

Posted: Wed Aug 30, 2006 8:28 am
by xnview
loth wrote:hi all,

in browsermode:
if the path, the user copy+pasted is like "P:\pics\Comix\M\Maroto, Esteban"
(with the ") then xnview doesnt browse/show this folder. only, if i dont use the "

i would like to consider, that xnview could strip the " itself (or ignore them?), so that the user doenst have to manually remove/strip them.
only for the lazy guys, which don't type but only copy+paste text :)

any suggestions?
Ok :-)

Posted: Tue Oct 03, 2006 7:13 am
by marsh
Done. It works in Alpha3.

Posted: Tue Dec 11, 2007 11:37 pm
by loth
marsh wrote:Done. It works in Alpha3.
indeed, thanks, but there is another small issue.

if the path is "C:\foo\bar " (space at the end of the path which comes from the clipboard) or " C:\foo\bar" (space at the beginning) then xnview ignores this path as well.

please strip all useless/illegal chars, this would be great.