locutus243 Posted October 12, 2005 Share Posted October 12, 2005 Hi Guys, I want a script that will extract a zip file and unzip it using IZArc and extract the data into another folder. If this isn't possible then perhaps just running the file will open the extractor?? Does anybody know if this is possible and how to do it??? If I can't extract the files with AutoIT, how do I open a zip file as FileOpen only works for text and Run for executables. Thanks Mark Link to comment Share on other sites More sharing options...
peethebee Posted October 12, 2005 Share Posted October 12, 2005 Hi! Read the FAQ section. It works with the dos command start. peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
locutus243 Posted October 12, 2005 Author Share Posted October 12, 2005 Hey Pee, Thanks for the help. Where is the FAQ section??? I had a look in the help file and found the _RunDos function but am still a little unsure how to use it. For example, if I have a file called Marks Zip File.zip on the desktop, how would I write the function in my script??? Thanks Mark Link to comment Share on other sites More sharing options...
peethebee Posted October 12, 2005 Share Posted October 12, 2005 Hi! You could give the file to extract as param to the exe of your zip program. See its help file to get the syntax. In that case you would use the Run command. You find the FAQ in the AutoIt help file in your AutoIt dir. Please have a look at it before posting here. Try this one: _RunDos("start " & @DesktopDir & "\yourfile.zip") (this code is not tested. Please post any problems with it!) peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
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