I have multiple folder path in excel
Ex:
/home/DT/Country
/home/AT/State
/home/DU/Area
/home/SR/Street
If file name consists of DT then file need to move to /home/DT/Country
If file name consists of AT then file need to move to /home/AT/State
I have multiple folder path in excel
Ex:
/home/DT/Country
/home/AT/State
/home/DU/Area
/home/SR/Street
If file name consists of DT then file need to move to /home/DT/Country
If file name consists of AT then file need to move to /home/AT/State
Welcome to the UiPath Community ![]()
You can use one mapping file with keyword and their destination folder path. While iterating files, you can check for the initial and get the folder path accordingly.
Thnaks,
Ashok ![]()
Hello @Meghana_Bonu1
So I suggest the following way
2.Iterate for item, to iterate for each file_path.
3. split the file_path by “\” and get last , in order to get just the filename
4. Check the filename contains one of the Words you want it to contain.
5. Based on which contains it do a move file with the location folder_path+“\”+filename
Welcome to the community
Cheers