kalayaan Posted August 3, 2005 Posted August 3, 2005 (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 August 3, 2005 by kalayaan
LxP Posted August 3, 2005 Posted August 3, 2005 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.
jftuga Posted August 3, 2005 Posted August 3, 2005 Here is a link to a command-line version:http://www.info-zip.org/UnZip.html#Win32Another 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 Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile
kalayaan Posted August 9, 2005 Author Posted August 9, 2005 Here is a link to a command-line version:http://www.info-zip.org/UnZip.html#Win32Another 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 , could you show me an example how to use DLLCall with something like unrar.dll (from http://www.rarlab.com/rar/UnRARDLL.exe)? thanks
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now