What is the maximum length of the file?

A. This depends on if the file is being created on a FAT or NTFS partition. The maximum filename length on a NTFS partition is 256 characters, and 11 characters on FAT (8 character name, . , 3 character extension). NTFS filenames keep their case, whereas FAT filenames have no concept of case (however the case is ignored when performing a search etc on NTFS). There is the new VFAT which also has 256 character filenames.

Learn more: What is the maximum number of characters in a domain name

NTFS filenames can contain any characters, including spaces, uppercase/lowercase except for the following

" * : / \ ? < > |

which are reserved for NT, however the file name must start with a letter or number.

VFAT filenames can also contain any characters except for the following

/ \ : | = ? " ; \[ \] , ^

and once again the file name must start with a letter or number.

NTFS and VFAT also creates a 8.3 format file name, see How do LFN's work?


What is the maximum length of the file?

What Is Maximum Length Of Native File Name? (Doc ID 447704.1)

Last updated on FEBRUARY 01, 2022

Applies to:

Oracle WebCenter Content - Version 7.0 and later
Information in this document applies to any platform.
Product: Content Server
Version: 7.1.1

Goal

What is the maximum allowable length for a native file name being checked into Content Server?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.

You are here: FAQ > Documaker Standard Edition FAQ > z/OS Issues > What is the maximum logical record length of a file?

The maximum logical record length (LRECL) of a file on z/OS is 32,760 bytes. This maximum is set by IBM and applies to all files, including an extract file.

© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.

Limitation on the name length, maximum file path, possible long paths issue

Written by Lily
Updated over a week ago

Limitations in the data room

The maximum allowed name length of folders and files is 255 characters.
If a folder or a file has a longer name, the exceeding part will be automatically cut off.

Please note that the file name length is counted along with its extension.

For example: FileName.doc - 12 characters, and FileName.xlsx - 13 characters.

The depth of a folder structure is not limited in the data room, i.e., you may have as many subfolders with more subsequent subfolders as needed.

The following symbols cannot be used in the documents name: \ / : * ? " < > |


Restrictions on working with downloaded deep structure

Please keep in mind that Windows and Mac OS restrict actions with long file paths, unlike the data room.

A file path is the total file name that consists of the local disk name, root folder name, names of folders/subfolders, file name, and file extension. A long path is the one that exceeds 260 characters.

Examples of a complete file path on a local disk D:

160 characters long:

D:\VDR folder\My Project Documents\FolderName 1\SubfolderName 1\SubfolderName 2\SubfolderName 3\SubfolderName 4\SubfolderName 5\Important documents\FileName.doc

265 characters long:

D:\Data Room\A very long folder name-A very long folder name-A very long folder name-A very long folder name-A very long folder name-A very long folder name-A very long folder name-A very long folder name-A very long folder name-A very long folder name\FileName.doc

The longer names of the folders/subfolders are, and/or the more subfolders you have, the longer the file path will be.

Hence, when downloading the documents from a data room with a deep structure or very long folder names, users may have difficulties opening them on their computers.

In this case, we recommend the following:

  • Downloading particular subfolders or files separately, instead of the whole parent folder with these documents.

  • Downloading the documents to a shorter path on the PC.
    For example, if you download the documents to your desktop, the first part of the path is at least C:\Users\UserName\Desktop\My VDR folder, where the user and folder names are variable and can be even longer. Instead, please choose the shortest directory for download, e.g. D:\VDR

If none of the above helps, you may find additional info on working with the downloaded archives containing long paths here.

What's the maximum length of a file name?

The maximum length of a pathname is 256 characters, which includes all parent directories and the filename. 255-character mixed-case long filename is possible only for files, or folders with no sub-folders, at the root folder of any drive.

What is the maximum length of a file name in Windows?

Microsoft Windows has a MAX_PATH limit of ~256 characters. If the length of the path and filename combined exceed ~256 characters you will be able to see the path/files via the Windows Explorer, but may not be able to delete/move/rename these paths/files.

What is the maximum length of the file name in DOS?

For example, the older MS-DOS FAT file system supports a maximum of 8 characters for the base file name and 3 characters for the extension, for a total of 12 characters including the dot separator. This is commonly known as an 8.3 file name.

What is the maximum file name length in Windows 10?

By default, Windows uses a path length limitation (MAX_PATH) of 256 characters: Naming Files, Paths, and Namespaces.