Automation Anywhere Call: 1-888-484-3535   

 
Automation AnywhereIT Automation
  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.

T07.atmn

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

Solutions
Create new task

Click Tools -> Task Editor.









Screenshot 1

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

25,000+ Customers
25,000+ 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 2010 Privacy Policy