On Fri, 21 Oct 2011, Linda W wrote:

I tried to open a .jar file in gvim (7.3). and got an error (which one has to type in manually, as vim won't let you cut/paste -- a much maligned user-hindrance, when it was first widely used by Microsoft):

unzip:   cannot find or open C:/Users/lindaw/AppData/Roaming/....

So I open up a console window and try the command:
(and)...
***warning*** (zip#Browse) ... same message as above....



/Users/lindaw> unzip -l C:/users/lindaw/AppData/Roaming/Mozilla/Firefox/Profiles/lindaw/extensions/{funnynumber}/chrome/file.jar Archive: C:/users/lindaw/AppData/Roaming/Mozilla/Firefox/Profiles/lindaw/extensions/{funnynumber}/chrome/file.jar
Length      Date    Time    Name
---------  ---------- -----   ----
   1109  09-29-2011 07:39   content/menucommander.js
  14574  09-29-2011 07:39   content/browser.js
  22524  09-29-2011 07:39   content/script.js
   3416  09-29-2011 07:39   content/install.js
....

---
I.e. works just fine...

So why didn't it work in Vim? Doesn't make sense. My first guess is it is I mistakenly installed broken 32-bit version and it couldn't call the right programs or access the right files due to windows redirection, but I can't think of any of the programs in this case, that it would have called where it needed a 64-bit version, so I'm stumped... Why does it work at the shell, but not from Vim?

My guess would be that you're attempting to use a Cygwin or MSYS version of unzip from a Windows-native version of Vim. Or vice versa, perhaps... Either way you might run into directory separator issues.

What do you get from unzip -v (or --version, maybe)?

How about :version (from within Vim -- just the lines up to the start of the features)?

Also, are you typing exactly what's on-screen? Or are you using '/' in place of '\'?

--
Best,
Ben

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