![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Ok, I admit I have not thought about this problem very much before coming to look for ideas. Each day I have one or more folders created in a specific location. I need to take all the .txt files in these folders and copy them to a seperate location for processing into a storage system. I can set up the trigger to watch for a new folder easily enough, but after that I am at a bit of a loss as to what direction to go in. |
| |||
| Quote:
2 - Copy from Folder A to Folder B |
| |||
|
Adding to the previous comment, using combination of loop for folder in a folder and loop for file in a folder, we can make task to run for any number of folders or files located at specific location. A sample task is attached for reference. The sample task will ask for the specific location to look for .txt file and finally copy it to different location. Attachment contains “Test” folder containing text file, excel file, word file and folder 1 and 2. Folder 1 and 2 are also containing txt file. Folder “Result” is destination folder where all the files are required to be transferred. To run sample task please follow the below mentioned instructions: 1. Save and extract the zip file at any location. 2. Save folder “Test”, “Result” and text file “FolderPathList.txt” on C:\ 3. Save FolderFile.atmn at My Documents\Automation Anywhere\Automation Anywhere\My Tasks 4. Launch Automation Anywhere. 5. Select the task and click on run. 6. When the prompt appears select C:\Test and click on OK 7. All .txt files from folder "Test" and sub folder "1" and "2" will be copied to folder “Result” Hope it helps! |
![]() |
| Thread Tools | |
| Display Modes | |
| |