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

T07 - Delete and move files

Task Description

Delete all .txt files in a folder and move all .doc files from that folder into another folder.

Test File T07.atmn

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

Solutions
1 Create new task

Click Tools -> Task Editor.







Test Editor

Screenshot 1

2 Delete all txt files

Select "Files/Folders->Delete File(s)" command. Insert the Path of the Folder in the Input box (e.g. "C:\My Folder\*.txt"). Save the Command.
3 Copy .doc files

Select "Files/Folders->Copy File(s)" command. Insert the Path of the Source Folder in the first Input box (e.g. "C:\My Folder\*.doc"). Insert the Path of Destination Folder in the second Input box (e.g. "C:\New Folder\"). Save the Command.
4 Delete .doc files

Select "Files/Folders->Delete File(s)" command. Insert the Path of the Folder in the Input box (e.g. "C:\My Folder\*.doc") from where files are to be Deleted. Save the Command.

When you run this task, it will delete the .txt files and move the .doc files from source to the destination folder.
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