Get Filename Without Path

Loop through files in a folder, strip the file extensions from the filenames using the ExtractFileName(), and more

This task will loop through files in a folder, strip the file extensions from the filenames using the ExtractFileName() function and display them one at a time using a message dialog .

The ExtractFileName() function extracts the name and extension parts of a file name. The resulting string is the rightmost characters of FileName, starting with the first character after the colon or backslash that separates the path information from the name and extension. 

Note: For the task to work properly, add a folder named Temp in the root of your C: drive and add some files to it or specify a folder in the 'Loop Files' step of the task. 

Task Category:

Looping