where is my file under c:\windows\

2017-04-27 Thread KC Cheng
Hi,

I'm using vim on Windows 7 and found a very odd problem.
For example, under DOS prompt, I can use command:

   vim c:\windows\abc.txt

to edit the file abc.txt.  However,

   dir c:\windows\abc.txt

show me file not found !!!
and I run

   vim c:\windows\abc.txt

again, everything I put in abc.txt is still there !!!???
Does vim use some cache directory ??  What's the problem here ??

Best Regards,
KC

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: where is my file under c:\windows\

2017-04-28 Thread George V. Reilly
On Thu, Apr 27, 2017 at 8:44 PM, KC Cheng  wrote:

> Hi,
>
> I'm using vim on Windows 7 and found a very odd problem.
> For example, under DOS prompt, I can use command:
>
>vim c:\windows\abc.txt
>
> to edit the file abc.txt.  However,
>
>dir c:\windows\abc.txt
>
> show me file not found !!!
> and I run
>
>vim c:\windows\abc.txt
>
> again, everything I put in abc.txt is still there !!!???
> Does vim use some cache directory ??  What's the problem here ??
>

​Are you running a 32-bit Vim.exe under 64-bit Windows?
This is probably WoW64 File System Redirection.
https://en.wikipedia.org/wiki/WoW64​

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.