Automation Anywhere Call: 1-888-484-3535   

 
Automation AnywhereIT Automation
  Home > Product > Solutions > IT Automation > T24  
T24 - Automate File Management. Organize Folders based on File Extension.
Task Description
Organizes folders by moving files into respective folders based on the file extension.

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


Screenshot 2



Go through all the files

Insert Loop command to loop through each file in a folder command.
Create the folders based on the extensions

  • Insert IF command by selecting it from Conditions / Loops category.
  • Select 'Folder does not exist' condition
  • Specify the variables $CurrentDirectory$\$Extension$FileCollection
Move the files to the respective folder

Copy files command will copy current file in loop to the folder of its respective type. For example if file name is C:\AutomationAnywhere.txt then it will copy the file to txtFilecollection folder created in above step.
Delete the copied files

Insert a Delete File command to delete the files to avoid duplicate copies.

When you run this task, it loops through each file in a folder and will create folders for each of the different extension types and moves the files within the respective folders.
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