Move various files with the same extension type

Hi!
I have a robot that downloads from 1 to “n” number of .xml files.
The xml files are downloaded on the “C:\Downloads” by default.
I would like to know if there´s any way to move all the files that are “.xml” to another folder in "D:"

Hi @Cruz_Becerril_Alliso - Please try this…

Directory.GetFiles(Environment.ExpandEnvironmentVariables("%USERPROFILE%\Downloads\"),"*.xml")

For Each "Type Argument’ is string.

Hope this helps…

3 Likes