How to delete an Excel workbook in a folder?

Hi ,
I have a folder2 with pdf,docx and xlsx.
I don’t know how to write the string to delete only Excel file with a wildcard(•) on delete activity
Path → “c:\folder\folder2\”
Path + •.xls• don’t work
Please help

@J_Cab Check below workflow once, it might be useful for you.

expNew.xaml (7.6 KB)

Hi,

you can use the directory.getfiles(“path”,"*.xls) - which returns the array of all xls files path.
keep that in loop and delete.