AdiZ Posted September 13, 2010 Share Posted September 13, 2010 Hi, I'm new in the world of AutoIt. I have a little code that export data from the registry to text files and put them on the desktop. I would like to zip all these files together to one zip file. How can I do it? Thank you. My code is: ; This script requires full Administrative rights #requireadmin MsgBox(0, "SupportUtil", "Click 'OK' to download the IMInfo file and create the IMData log file") ShellExecuteWait("regedit.exe","/e IncrediReg_Install.txt HKEY_LOCAL_MACHINE\SOFTWARE\IncrediMail",@ScriptDir & "\") ShellExecuteWait("regedit.exe","/e IncrediReg_Profile.txt HKEY_CURRENT_USER\SOFTWARE\IncrediMail",@ScriptDir & "\") ProgressOn("Getting IncrediMail Data", "Progress...", "0%") For $i = 10 to 100 step 10 sleep(1000) ProgressSet( $i, $i & " %") Next ProgressSet(100 , "Done", "Complete") sleep(500) ProgressOff() MsgBox(0, "IMData", "Please attach the 'IMData.cab' file on your Desktop to your reply.",0) Link to comment Share on other sites More sharing options...
HavikTech Posted September 13, 2010 Share Posted September 13, 2010 You can use internal Windows feature, but there are some easy to use UDF for managing ZIP functions. Such as: http://www.autoitscript.com/forum/index.php?showtopic=116565 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