Jump to content

Recommended Posts

Posted (edited)

hi folks,

i'm trying to read the contents of a folder and its subdirs. some of the files in this folder are zip and rar files. how would you go about having these archives treated as subdirectories (like windows explorer does) and their contents listed along with the uncompressed contents of the folder?

many thanks.

lee

EDIT: btw, i'm using run(@comspec /c dir...) and writing the result to file.

Edited by kalayaan
Posted

If you can find a small command-line unzipper with the facility to view a ZIP's contents then you could bundle that within your script and run it in the same way.

Posted

Here is a link to a command-line version:

http://www.info-zip.org/UnZip.html#Win32

Another way to do it, would be to find a DLL that had unzip functions and then use the DllCall() function from the beta versions of AutoIt.

-John

<{POST_SNAPBACK}>

john, thanks for the link.

at the risk of being a burden :whistle: , could you show me an example how to use DLLCall with something like unrar.dll (from http://www.rarlab.com/rar/UnRARDLL.exe)? thanks :dance:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...