Any Wokula wrote:

> (gVim 7.3.393, Windows/win32)
> 
> Cannot :cd into a sub-folder that starts with a space (e.g. " dir"):
>      :cd \ dir
>      E344: Can't find directory "dir" in cdpath
>      E472: Command failed
> 
> As the error messages suggests, the directory "dir" will be entered if
> it exists.
> 
> Completion works ok:
>      :cd <Tab>
> ->
>      :cd \ dir

Best solution is to rename the directory.

Escaping rules are already very complicated.  I'm not sure this can be
fixed without creating a new problem.

-- 
CART DRIVER: Bring out your dead!
   We follow the cart through a wretched, impoverished plague-ridden village.
   A few starved mongrels run about in the mud scavenging.  In the open
   doorway of one house perhaps we jug glimpse a pair of legs dangling from
   the ceiling.  In another doorway an OLD WOMAN is beating a cat against a
   wall rather like one does with a mat.  The cart passes round a dead donkey
   or cow in the mud.  And a MAN tied to a cart is being hammered to death by
   four NUNS with huge mallets.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui