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

T03 - Create folders in network drive & backup data

Task Description

Daily create folders in network drive for users, prefix those folders with today’s date and backup files from a local folder to those folders.

Test File T03.htm

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

Solutions
1 Create user list
  • Create List Variable from Tools Menu > Variable Manager.
  • Make sure “User Variables” tab is selected. Click “New” and in 'Type' selection select “List”
  • Type user names. Give an appropriate name to List Variable (say “MyUsers”) and save the List Variable.


Variable Manager
Screenshot 1


Loop Wizard
Screenshot 2


Loop Through user List and Copy Files
Screenshot 3
2 Create new task

Click on Tools -> Task Editor.
3 Loop through user list & create folder for each user

  • From the command list select "Loop->Start Loop” command.
  • In the "Loop" wizard, select “List” Variable option and select the newly created List Variable.
  • Select “Programs/Files/Windows->Files/Folders” Command. Select “Create Folder” option and select the parent folder. Press F2 Key to enter the List Variable created above and also add System Date variables as prefix.
4 Loop through user list and copy files

  • You can create another loop command like above and select Programs/Files/Windows- >Files/Folders” command wizard. Choose “Copy File(s)” option in “Files/Folder” wizard.
  • Select or enter the path of the source folder from where the files are to be copied. In destination folder enter the parent folder of our newly created folders. Using F2 Key enter the List Variable and System Variables for today’s date. Save the command.

When you run this task, it will create new folders in your given drive and backup data from your local folders to these newly created 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

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