This project is read-only.

Forward slashes?

Mar 3, 2011 at 9:39 PM


Can anyone explain to me why, on a machine where Path.DirectorySeperatorChar is a backward slash ( \ ) the entry filenames are all sepperated with a forward slash ( / ) ?

Mar 9, 2011 at 1:38 PM

The zip file specification, supplied by PKWare, states that separators within a zipfile are forward slashes.

That's why.

It shouldn't matter, though.  It should be of no concern for applications that use the library.