Jump to content

Use AutoIt to compress Files


kpu
 Share

Recommended Posts

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? :P

Link to comment
Share on other sites

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? :P

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

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 handlers

Any idea?

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...