Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Sample Tasks -> 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.

Solution
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".
    Screenshot 1
  • 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" Screenshot 2

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.  Screenshot 3
 
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.

Screenshot 1:

Screenshot 2:

Screenshot 3:

 

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SOLUTIONS FOR

 Home & Home Office
 Business & IT
 Partners
 Developers
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Pre-defined Templates
 

 GENERAL

 Tell A Friend, Win a CD
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks