Get all filename one by one without extension

Hello All,
I need assistant. I have a folder, it’s in different files. I need to file name one by one without extension. Please check my code and provide me solution.
File Here

Thanks

3 Likes

use for each in that use : For each item—Directory.getfiles(FolderPath)
In body: Use assign in which : Filename= path.getfilename(item.tostring).split("."c)(0)

3 Likes

Hello @Jesmine try below…

for each file in DIrectory.GetFiles(“FolderPath”)
Log message = Path.GetFileNameWithoutExtension(file)
next

9 Likes

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