i need to extract the excel file name to move the to other folder. how to achieve this
Read the source folder files into a list with a filter for excel files.
excelfileList = Directory.GetFiles(foldername,”.xlsx”)
From this list you can move the file to the destination folder using Move File Activity.
Thanks for your reply…
Source folder contains only excel files should i get into a list
As @KarthikByggari mentioned, try that one and it will give you list of all excel files in that folder. (output is array of string)
Then use For Each loop to iterate that array of string and inside that use Move File activity to move one by one file.
Thanks for your reply