Friday, April 29, 2011

Re: execute command from vim in windows

Ben Schmidt <mail_ben_schmidt@yahoo.com.au>:
> On 29/04/11 8:51 PM, Jan Larres wrote:
>>Ben Schmidt<mail_ben_schmidt@yahoo.com.au>:
>>>>One of the ways to avoid spaces in Windows names of files and
>>>>directories is to replace any "controversial" names by their 8.3
>>>>equivalents
>>>
>>>Of course, this will only work on filesystems that still support 8.3
>>>equivalents and have that functionality turned on, which isn't always
>>>the case these days. Just a potential gotcha with that approach.
>>
>>Really? Ugh. I'm using this method for my 'Tagbar' plugin to call ctags
>>(using system()) since shellescape() doesn't seem to work in Windows for
>>this case. Could you give some information about when this might be the
>>case?
>
> From what I can gather from a little Googling:
>
> - 8.3 filenames can only be disabled at all on NTFS volumes.
> - They can be disabled system-wide from Windows NT onwards.
> - They can be disabled per-volume on Windows 7.
> - They are disabled by default on Windows (Server) 2008.

Thanks! I didn't expect you to Google it for me, though, I just thought
you already knew some details :)

Now to find some other workaround ...

Jan

--
-[ OpenPGP key ID: 00A0FD5F ]-
Fashion is a form of ugliness so intolerable that we have to alter it every
six months.
-- Oscar Wilde

--
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

No comments:

Post a Comment