Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So as far as I know, I should be able to access files inside zip-files by simply pointing explorer to them (as in, use them as virtual folders), for example c:\\test.txt if my contains the file test.txt.

This, however, does not work for me. Instead, I get a "The system cannot find the path specified" popup. This is somewhat weird since explorer seems to recognize the test.txt file within the archive since after adding the backslash after the zip-file, it "proposes" the file test.txt within the archive.

I've also heard that I should be able to use the files via URIs in C# applications, but in there I get a TargetInvocationException saying pretty much the same, cannot find the path specified.

So have I simply misunderstood the whole concept, am I doing something wrong or is my system just acting up?

share|improve this question
up vote 2 down vote accepted

AFAIK, the ability to see the files inside a zip-archive are a feature of 'Explorer.exe' and not of the 'Windows File Subsystem';

So when you Open the c:\\test.txt form inside Explorer, it actually extracts the file and places it in a temp folder, and then Open 's it from that location.

In order to access the file from any other program (including your own) you first need to extract the file.

Edit: For access from C# see

share|improve this answer
Doh, I was hoping I could just keep all the files inside the zip-file and not need to extract them, but it did actually sound slightly too good to be true :) – bobblez Apr 20 '11 at 13:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .