Automation SoftwareAutomation Anywhere
  Home > Product > Solutions > IT Automation > T22  

T22 - Automate Zip. Zip a folder and email it

Task Description

Zip all document of a folder that are two days old and email it as an attachment.

Test File T22.atmn

Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks
Solutions


Task Editor
Screenshot 1


Zip the Folder
Screenshot 2

Send file as attachment
Screenshot 3
1 Create new task

Click on New -> Task Editor.
2 Copy all documents that are 2 days old

  • Using the Programs/Files/Windows category select Files/Folders command.
  • In the Files/Folders Interface select Copy Files(s) option.
  • In the Source File(s) with path select the path which contains the *.doc files.
  • In the Destination folder with path select the path were you want to copy all the *.doc files.
3 Zip the folder

Copy Files "C:\MyFolder\*.doc" to "C:\MyFolder\MyZippedFiles\"
  • Click on "Advance View >>" and select the Date box. From the list, select created date, and specify 2 in the box next to "in the last".
  • From the Program/Files/Windows category select Files/Folders command.
  • In the Files/Folders wizard select the Zip file(s) option.
  • In the Select file(s) to compress type the path of the folder that contains all document Files.
  • In the File Type specify *.doc for zipping word files. And, in the Destination Zip File specify the path along with the zip file name, where the zip file has to be created.
Zip file(s) from "C:\MyFolder\" into file "C:\MyFolder\MyZippedFiles\$Day$_$Month$_$Year$.zip"
4 Send the file as attachment.

Select Insert Keystrokes command from the Keystroke/Mouse category. And Insert the keystrokes to create a new mail and send the zip file as an attachment.

When you run this task, it will copy all the document files that are 2 days old from a specified folder to an another location and zips all the documents, and then sends the zip file as an attachment.
Buy Now Free Trial

Next Steps
Compare versions Compare versions
Watch a flash demo Watch a flash demo
Contact me Contact me
Ask the Expert Ask the Expert
Request live demo Request live demo

Call 1-888-484-3535

Our Customers
Automation Anywhere Customers
Customer list | Case Studies

We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys.
- Jack Greenberg

Read Customer Testimonies >>
  Products     Download     Purchase     Services     Support     Customers     Company     Sitemap     Trademark FacebookTwitterAutomation Anywhere Blog © Automation Anywhere, Inc. 2012 Privacy Policy
Automation Anywhere Call: 1-888-484-3535 x1   

Automation Software - Free Trial Automation Software - Buy Now