Before-the-dot-in-a-file-name, what is it called

filenamesnomenclature

After-the-dot-in-a-file-name, it is called extension.

Best Solution

It's called the basename. In fact, there's a unix/linux command for it:

basename - strip directory and suffix from filenames