[ACCEPTED]-Before-the-dot-in-a-file-name, what is it called?-nomenclature
It's called the basename. In fact, there's 2 a unix/linux command for it:
basename - strip 1 directory and suffix from filenames
The "base name," "basename," "primary name," "filename," "file 1 name," or the "file."
Base name or file name.
0
Ruby calls it the basename. That's a good, succinct 2 name that I generally go with in other environments 1 too.
Basename or primary file name.
0
I call it filename. So its like Filename.ext
0
I've always called the everything before 1 the dot and the extension the "file name".
I'm not a Ruby or Linux guy, so I guess 4 I missed the BaseName thing. It makes for 3 all sorts of interesting naming convention 2 hilarity. I'm in the
Filename.Ext
camp, although that, too 1 can be a FileName. (or maybe a FileNameWithExtension).
Once upon a time, the term Leafname was 4 used, although that typically included the 3 extension. I mention this for historical 2 value, and since its dropped out of usage, it 1 might be redeemable for this purpose.
The boost::filesystem library calls it basename 1 as well.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.