[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File names with spaces and tramp/ftp

From: Eli Zaretskii
Subject: Re: File names with spaces and tramp/ftp
Date: Tue, 12 Feb 2008 21:58:29 +0200

> Cc: Eli Zaretskii <address@hidden>, address@hidden,
>         address@hidden
> From: Michael Albinus <address@hidden>
> Date: Tue, 12 Feb 2008 14:00:48 +0100
> But it is a good approximation. Under GNU/Linux, we have
>   (shell-quote-argument "file name with spaces 'and \"quotes")
>     => "file\\ name\\ with\\ spaces\\ \\'and\\ \\\"quotes"
> W32 systems do 
>   (shell-quote-argument "file name with spaces 'and \"quotes")
>     => "\"file name with spaces 'and \\\"quotes\""
> Both quotations work with stock FTP clients except the quotation of
> "\"" on W32 systems: it shall be "\"\" instead of "\\\"".

This case is not important to handle, since Windows file names cannot
include qoute characters " anyway, as you have discovered:

> Btw, I
> could not create the file "~/file name with spaces 'and \"quotes" on
> W32 in Emacs; this worked only with Emacs under GNU/Linux.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]