Unzip and Unrar in automatic and repetitive way using a vbs script

I will post a question that you may think it is crazy, but if you are a regular user of usenet's alt.binaries.w.ibm-pc.0-day news group then you will understand the reason of my question. However it doesn't matter if you know what I am talking or not; just understand the following - I have a main folder which has many subfolders; each subfolder contains one or more zip files; such zip files when unzipped will extract a rar file; such rar file has the final files I want to access. How can I automate the unzipping and unraring processes ? I do not know to program (I am beginning to learn Visual Basic Script) but I guess that a "magical" vbs script can do it... I am correct ? Thanks in advance.
asgarcymedAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LambersonSoftware EngineerCommented:
asgarcymed,
Check out this site for the zip part of your question...
http://www.codeguru.com/vb/gen/vb_graphics/fileformats/article.php/c6743/

Here is info on code for dlls that work with rar files
http://www.rarlab.com/rar_add.htm
http://www.nirsoft.net/freeware_links.html
Bob
0
asgarcymedAuthor Commented:
BobLamberson - the links you said seems to be good but I am a beginner yet :( Now I am beginning to learn Visual Basic Script (I only know something about QBasic). So I don't know, yet, to use dll (call a dll from an exe file) :( By the way, if you want to comment what is the best sequence to learn to program, please suggest it... I would like to learn a lot about programming (I think it is fascinating !).
0
Bob LambersonSoftware EngineerCommented:
asgarcymed,
Good that you are interested in programming. A good way to get into it is to Google or search the web for tutorials for your chosen language. There are many and you will probably look at a few before finding the right one for you.

I like to get the books, Microsoft has many they call training kits, and have learned most of my programming by reading them and practicing the exercises in them.

As for DLL files, they are Dynamic Link Libraries and contain functions that do specific processes. You would call the functions from within your program code to execute a given process.

To "install" a DLL is easily done by copying it to your c:\windows\system32 directory (or any directory in your path) and registering it. To register it you would click on Start, then click on Run, then type in regsvr32 c:\windows\system32\somename.dll and click run. Now your program will be able to find the functions in the dll.

Try to start writing some code, simple at first, and post questions with short code examples here and someone will help you.
Bob
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
asgarcymedAuthor Commented:
BobLamberson - thank you for the advices !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.