On 08/03/10 19:50, epanda wrote:
Hi,


I would like to avoid to backslash all spaces when I have to use
windows path.

eg : DirDiff c:\user\Documents\ and\ settings

Can I avoid to put backslahes ?
Thank you


Even if Bill Gates & Co. document them badly (maybe they want to "deprecate" them?), on FAT systems 8.3 "Dos-like" paths are still usable... and useful:

        :DirDiff C:/user/DOCUME~1

or for

        C:\My Long Path With Spaces\My Subpath\My File With Spaces.txt

you can use something like

        C:/MYLONG~1/MYSUBP~1/MYFILE~1.TXT

See ":help filename-modifiers" and in particular the :8 modifier. (The ~1 ~2 etc. ending is assigned for unicity, so if there are siblings whose first six 8.3-compatible characters are identical it could be other than ~1)


Best regards,
Tony.
--
DEAD PERSON:  I'm getting better!
CUSTOMER:     No, you're not -- you'll be stone dead in a moment.
MORTICIAN:    Oh, I can't take him like that -- it's against regulations.
The Quest for the Holy Grail (Monty Python)

--
You received this message from the "vim_use" 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

Reply via email to