How to delete multiple files form download folder with different name?

Hello team,

I have to delete files from download folder path but i have to delete some specific files (Step Search , R508) these are files names, downloading multiple files with same name

thanks

Hi @Suraj_Gaikwad_Nuvama_Grou

Try like this

Path.GetFileName(CurrentFile.ToString).Contains("Step Search") Or Path.GetFileName(CurrentFile.ToString).Contains("R508")

Hope this helps!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.