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

T39 - Zip files that are more than 5 MB in size

Task Description

Copy all the files of a folder that are more than 5 MB in size to another location and zip all the copied files with the current date as the zip file name.

Test File T39.atmn

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

Solutions
1 Create New Task

Click on New-> Task Editor.

Task Editor
Screenshot 1




Zip all files and folders
Screenshot 2
2 Copy all the files having size more than 5 MB

From the Program/Files/Windows category, select Files/Folders command. In the Files/Folders wizard click on Copy File(s) option. Specify source & destination folder.

Copy Files "C:\MyFolder\*.*" to "C:\MyFolder\DocumentFiles\" if file size is at least 5120 KB

Click on the "Advance View >>" button and then click on size. From the list select atleast, and specify the size as in the KB textbox.

e.g. for 5MB specify 5120 KB for 1MB specify 1024 KB
3 Zip all the files from a folder

From the Program/Files/Windows category, select Files/Folders command and select Zip File(s) option. Specify the path from were you want to zip all the files, also, specify the destination zip file name along with the path. To specify today's date as filename, press F2 for the list of variables. Select Day variable, again press F2 and select Month variable, and again press F2 and select Year variable, and at the end specify ".zip" as the extension.

Zip file(s) from "C:\MyFolder\DocumentFiles\" into file "C:\MyFolder\DocumentFiles\$Day$_$Month$_$Year$.zip"

When you run this task, it copies all the files that have size more than 5 MB, zip's the copied files with the current date as the file name.
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