Looking for a specific file to only display in the assign activity here is my code

i am looking to display in a directory only the files with -invoice.pdf
As far I succeed with this code to list all files. But how is the full code for only the invoice.pdf should be displayed



give a try on

Directory.GetFiles("C:\Users\ext-ikava\Desktop\unziped","*-invoice.pdf ",SearchOption.AllDirectories)

1 Like

worked thanks alot

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