Zip files Action is a constituent part of Automation Workshop, a Windows automation software. With the Zip files Action you can automate file compression in various ways. Zip compression process can be triggered manually, on user request, or automatically, on some system event. For example, file archival can start on schedule, upon detecting a new file in specified folder, at Windows start, user login, or after one of numerous other automation Actions, such as Copy file, Move file, Send email, and Registry export.
In the Zip files Action you will find the most up-to-date file compression options.
As the Zip files Action is designed for automation, it features a number of specific options that are somewhat alike to command line zip version. They too, however, are provided in graphical user interface of Automation Workshop.
The goal of automatic Zip files tutorial. This tutorial will show you how to create a simple Automation Workshop Task to automate a daily zip archival of all files located on a network share to a compressed and encrypted zip file containing the date of archival in its name.
During the creation of the Task, we will assume the following parameters:
The tutorial on how to automatically compress files to zip archive consists of the following steps:
Creating a Task. Let us begin with creating an automated Task, a functional unit of Automation Workshop. Open the Automation Workshop manager and choose the New Task option from the File menu. Alternatively, a New Task option can be selected in the context menu of Task pane or by using Ctrl+N keyboard shortcut. Either way, it will open the Task Wizard, an interactive tool for Task creation.
Adding the Task Scheduler Trigger for automatic daily Task execution. A Task does not start itself. Instead, it relies on its Triggers that are sets of conditions which, when met, automatically start the Task. Click the Next button in recently opened Task Wizard to go from the Welcome tab to the Trigger tab.
Click the Add button and choose the Task Scheduler in the Add Trigger window.
Configure the Task Scheduler for daily execution at 11:30 PM with the recurrence interval of 1 day.
Finish the configuration of the Task Scheduler Trigger and note that it appears in the Triggers tab of Task Wizard.
Now, when automatic Task execution is scheduled daily at 11:30 PM, click Next to go to the Actions tab of Task Wizard.
Click the Add button and choose the Zip files Action in the Compression category in the Add Action window.
Once in the Archive tab of the Zip files Action, let us first specify the files to compress. Click the Browse button next to the Files to compress field. Browse to
\\SERVER\share\ network folder, select any file and confirm the selection. Replace the file name with all files
Second, let us specify the destination archive. Browse to or enter the
C:\Daily backup\ folder and click the Variable Wizard button. We will have to specify the file name that reflects the date of archiving. Choose the Date variable in the Date / Time category.
For easier sequential sorting of archive files in Windows, choose the Year / Month / Day format and enable the Add leading zero option. Since the Date variable will be used in file names, only symbols allowed in file names can be used. As slashes are not allowed, change the separator to the - (Dash) character.
When the Files to compress and Destination archive parameters have been specified, let us specify the encryption for the archive. Go to the Options tab of the Zip files Action properties.
Choose the AES-256 (Advanced Encryption Standard) as file encryption. Use a reasonably long password which is hard to guess (e.g. such password may contain both uppercase and lowercase letters along with numbers and special symbols). Click OK to return to Task Wizard.
After the Zip files Action has been added and configured, proceed with the other steps of Task creation, namely, specify the user credentials in Run As properties tab, configure email reports in Reports tab, give task a name and description in Task properties (e.g. Daily Zip files) and Finish the Task creation.
Conclusion. The tutorial on zip file automation has shown how to create a Task, add and configure both the Task Scheduler Trigger and the Zip files Action. The dynamic Date value was used via Variable Wizard as the file name parameter, specifying that the each zip archive instead of having the same fixed name is named differently every day.
Note that this tutorial shows only the basics of using Automation Workshop. The full functionality of automated Tasks (and even particular Task Scheduler Trigger and Zip files Action) far surpasses the simple use reviewed here. Feel free to try the fully functional trial version of Automation Workshop to see how it can help you to implement business processes automation in your company!
If you have any questions, please do not hesitate to contact our support team.