kpu Posted December 7, 2005 Share Posted December 7, 2005 I've created a script that exports a bunch of registry keys and I'm tring to figure out a way to zip them up using wild crads such as *.reg. I've played with 7-zip, but it won't work unless it's installed. Is there a way to do this using Autoit? Basically I'm looking for a compression tool to zip files with the ablitity to use wild cards and set a password if possible. Anyone have any ideas? http://www.kpunderground.com Link to comment Share on other sites More sharing options...
AutoChris Posted December 7, 2005 Share Posted December 7, 2005 I've created a script that exports a bunch of registry keys and I'm tring to figure out a way to zip them up using wild crads such as *.reg. I've played with 7-zip, but it won't work unless it's installed. Is there a way to do this using Autoit?Basically I'm looking for a compression tool to zip files with the ablitity to use wild cards and set a password if possible. Anyone have any ideas? Unless the makers of 7-Zip have drastically changed their program in the last 24 hours, you do not need to "install" 7-Zip. All you need is the executable, which you can #include in your script. I use 7-Zip in this way all of the time... literally, since I zip up SQL backup files nightly using AutoIt and 7-Zip. Link to comment Share on other sites More sharing options...
kpu Posted December 7, 2005 Author Share Posted December 7, 2005 Unless the makers of 7-Zip have drastically changed their program in the last 24 hours, you do not need to "install" 7-Zip. All you need is the executable, which you can #include in your script. I use 7-Zip in this way all of the time... literally, since I zip up SQL backup files nightly using AutoIt and 7-Zip.I've copied the file(s) to a directory and try and run 7z.exe from the a dos line and I get the following error message:Error:There are no installed archive handlersAny idea? http://www.kpunderground.com Link to comment Share on other sites More sharing options...
Zedna Posted December 7, 2005 Share Posted December 7, 2005 I've copied the file(s) to a directory and try and run 7z.exe from the a dos line and I get the following error message:Any idea?Uou must use 7za and not 7z7za is commandline variant of it.or try XZip.dll via Obj functionality - very simple AutoIt code!:look here Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
kpu Posted December 7, 2005 Author Share Posted December 7, 2005 Uou must use 7za and not 7z7za is commandline variant of it.or try XZip.dll via Obj functionality - very simple AutoIt code!:look hereThanks, I will look into you code. In the mean time I found another command line tool called sbc.exe from http://sbcarchiver.cjb.net that seems to be working quite well. Thanks! http://www.kpunderground.com 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