Need help to get the file names from the folder. I am downloading multiple files in certain folder as 001,002,003…etc
So, I want to get the file name for each file downloaded. I tried using “Directory.GetFiles(path)(0)” for this I am getting the first file name as complete path “C:\Users\Downloads\001.pdf”.
But I am looking to capture only the file name like 001,002,003
Please help me here,
Thanks in advance