This is one that comes up from time to time, and I am always re-inventing the wheel trying to come up with a standard (usually to just find out that it conflicts with the ‘standard’ I came up with six months before).
So, to provide myself with a reference, I am creating this entry: based on the names suggested on this site.
Assume the current directory is C:\users\Joe\For Work\
Path and File | Part name |
---|---|
C:\users\Joe\For Work\Widget\foo.src | absolute path or full path, or path |
C:\users\Joe\For Work\Widget\foo.src | absolute directory or current directory |
C:\users\Joe\For Work\Widget\foo.src | directory |
C:\users\Joe\For Work\Widget\foo.src | subdirectory |
C:\users\Joe\For Work\Widget\foo.src | relative path |
C:\users\Joe\For Work\Widget\foo.src | file name or base name |
C:\users\Joe\For Work\Widget\foo.src | file root |
C:\users\Joe\For Work\Widget\foo.src | file extension (with or without the dot) |