KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: File Names and Pathnames
PRODUCT: 4D | VERSION: 3.x | PLATFORM: Mac & Win
Published On: September 1, 1996

Document (or file) names and pathnames follow different rules on Windows and Macintosh.

On Windows

• The DOS environment limits file names to 8 characters followed by a suffix, called File extension, of usually 3 characters indicating the type of the file (i.e. TXT for Text files). A period separates the name from the file extension. However, on Windows NT (3.5.x or upcoming 4.0) as well as Windows 95, file names are no longer limited to 8 characters, they can be up to 255 characters. Therefore a file name can be described in a generic way as follows: filename { .extension }

• No matter what version of Windows you are using, a path name is formatted as follows: DriveLetter:\DirectoryName\...\DirectoryName\

On Macintosh
No matter what model of Macintosh or what version of MacOS you are using:
• A file name is limited to 31 characters
• A path name is formatted as follows: VolumeName:FolderName:...:FolderName:

WIN
/DLTN/TN/1996/Windows/TN_1996_37-41_(SEP)/96-41_PathNames.exe

MAC
/DLTN/TN/1996/MacOS/TN_1996_37-41_(SEP)/96-41_PathNames.hqx