Hi All,
I have an interesting problem wherein i am having 2 files in the same directory, one is of the format MHTML and the other is xlsx, i want to move the xlsx file in another directory.How can i do that
Thanks
Arjun
Hi All,
I have an interesting problem wherein i am having 2 files in the same directory, one is of the format MHTML and the other is xlsx, i want to move the xlsx file in another directory.How can i do that
Thanks
Arjun
@shekhawat.arjun1307 - have you searched in the forum already? This is very simple.
I recommend to search in the forum first. Clue is to use Directory.GetFiles with the search pattern.
Please use the below function.
Directory.GetFiles("YourFolderpath","*.xlsx")
Regards
Hi @pravin_calvin - it should be comma instead of + right? just checking…
Yes you re right!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.