Hi can anyone tell me solution to create folder and move files with respective of each arraylist in the above screenshot !
Please move create folder outside loop if you need to create only one folder
I believe the array you have is the file names array…can you let us know where the files are and what are the extensions of it?
Ideally you can do like this
Use move file activity inside loop and
In the source use Path.combine("Folderpath", currentitem + "extensionoffile")
And in destionationgive the destination folder which basically would be same as create folder location
Hope this helps
Cheers
If you want to create a folder with the currentItem name in the above mentioned location, you can use this expression in the Create Folder activity:
Path.Combine("C:\Users\arjun.shenoy\Desktop\",currentItem.ToString)
Hope this helps,
Best Regards.
Thanks brother it worked .
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.