hi,
i have some files in my local folder(jpg,jpeg,rar,etc). Now i would like to copy all the files name without extension and paste it to excel. I have done something but i am getting the full name. I want only the file name not the extension.
You can change the “Add data row” Input from “{new System.IO.FileInfo(file).Name}” to “{Path.GetFileNameWithoutExtension(file)}” to get file name without extension
A little bit more help please, there are some files with same names, i would like to entry only one name file into excel. Like there are 1.jpg and 1.rar file but i want only 1 in my excel. @Sasi.lalo