What is the simplest way to extract from archives, and create archives, I need to be able to support 7z, zip, and rar files, and I really don't need to do anything complicated, just list the files that are in the archive, and extract a specific file. I was thinking of just using fork() and having the child process execute a 7z command, however that requires a lot of work with piping the output to some kind of string then parsing the string to figure out what's happened, and it seems to be a real dirty way of doing it, I'd like some kind of library that can do it.
I've looked at the 7zip SDK, but I can't find hardly any documentation on it, and I don't even know what files it supports, if it just supports 7z out of the box, or all of the archives, and I don't want to spend too much time figuring out a library if I don't know it will do what I need.
And like I mentioned, I don't need a lot of complex features, I just need to be able to list archive contents, extract all or specific items, and create an archive, and I need to support at least zip, 7z, and rar.



3Likes
LinkBack URL
About LinkBacks



