Are you navigating the complex world of file names and struggling to understand the limitations of Windows systems? Unraveling the mystery of file name length is critical for efficient data management and storage. Whether you are a business professional managing a large database or an individual organizing personal files, understanding the constraints of file names on Windows can significantly impact your productivity.
In this article, we will delve into the intricacies of Windows file naming conventions, exploring the maximum character limit and the potential implications for your everyday computing tasks. By gaining a comprehensive understanding of file name length limitations, you will be better equipped to optimize your file organization and data management strategies, ultimately enhancing your overall computing experience.
Quick Summary
In Windows, the maximum length for a file name is 260 characters, including the directory path. This limit was enforced due to the MAX_PATH constant in the Windows API, but recent updates have allowed for longer file paths by enabling the use of the extended-length path format.
The Limit Of File Path Length In Windows
In Windows, the limit of file path length has been a longstanding concern for users. Specifically, the maximum path length for files and folders in Windows is 260 characters. This limitation can become a hurdle when storing or accessing deeply nested files or folders, and it often prompts errors, such as “Path Too Long” or “Filename Too Long.”
Furthermore, the 260-character limit is imposed by the MAX_PATH constant in the Windows API, which has been a standard for a significant period of time. This limitation applies to the entire file path, including the folder names leading to the file. While the limitation has been a point of frustration for users, it’s important to note that modern versions of Windows, such as Windows 10, have introduced support for longer file paths.
In conclusion, understanding the limit of file path length in Windows is crucial for efficient file management and system performance. As Windows continues to evolve, it is increasingly important for users to stay informed about updates and changes regarding file path length limitations.
Understanding The Impact Of Long File Names
Long file names have become an integral part of the digital landscape, revolutionizing the way we organize and manage data. However, their impact extends beyond mere convenience. Understanding the implications of extended file names is crucial for users and IT professionals alike.
For starters, longer file names can improve the clarity and descriptive nature of files, making it easier to navigate and identify distinct documents. However, this convenience comes with a trade-off. Compatibility issues may arise, particularly when transferring files between different systems or storage devices. When dealing with legacy systems or applications, the potential for truncation or errors due to long filenames cannot be ignored.
Moreover, the impact of extended file names is not limited to the user interface. It can also affect the underlying file system and storage efficiency. For instance, longer filenames may consume more storage space and could potentially lead to inefficiencies in file allocation and management. Understanding these consequences is vital for making informed decisions regarding file naming conventions and storage infrastructure.
Best Practices For Managing Long File Names In Windows
When it comes to managing long file names in Windows, following best practices can help prevent potential issues and streamline your file management process. To start, it’s essential to keep file names concise and meaningful to ensure easier identification and organization. Utilizing descriptive but short file names can enhance clarity and accessibility, especially when managing numerous files within a directory.
Another key best practice is to avoid using special characters, spaces, and excessive punctuation in file names. Instead, opt for hyphens or underscores to separate words, which can prevent compatibility issues with different file systems and applications. Furthermore, adhering to standard naming conventions, such as limiting file names to 255 characters, can help mitigate potential compatibility issues when transferring files between different systems.
Embracing a systematic approach to file naming and adhering to best practices not only ensures efficient file management within the Windows environment but also promotes interoperability across various platforms and systems. By adhering to these guidelines, users can mitigate potential compatibility issues and ensure a seamless experience when working with files in Windows.
Tools And Methods For Handling Lengthy File Names
When dealing with long file names in Windows, it’s crucial to employ the right tools and methods to effectively manage and handle them. One key tool for handling lengthy file names is the use of command-line interfaces, such as PowerShell. With PowerShell, you can use special commands and scripts to manipulate and rename files with long names, making it a valuable resource for managing file name length.
Another method for addressing lengthy file names in Windows is utilizing third-party file management utilities. These utilities provide advanced features for file and folder management, including the ability to handle long file names with ease. One popular file management utility is Total Commander, which offers robust file manipulation capabilities, including the ability to navigate, rename, and manipulate files with lengthy names.
Additionally, leveraging cloud storage services like OneDrive or Dropbox can also be a practical solution for dealing with long file names. By storing files with lengthy names in the cloud, you can avoid some of the limitations imposed by Windows file systems and access your files from multiple devices. These tools and methods provide practical solutions for effectively handling lengthy file names in Windows, ensuring that you can manage your files efficiently without being hindered by name length restrictions.
The Evolution Of File Name Length Restrictions In Windows
The evolution of file name length restrictions in Windows has been a dynamic journey. In the early days of Windows, file names were limited to 8 characters, followed by a period, and then a 3-character extension. This limitation stemmed from the 8.3 format, which allowed for compatibility with older systems but limited the flexibility of file naming.
With the release of Windows 95, the file name restriction was expanded to 255 characters, including the directory path. This was a significant improvement, as it allowed for more descriptive and meaningful file names. Subsequent versions of Windows have continued to enhance file naming capabilities, offering support for longer file names and eliminating legacy restrictions, such as the 260-character limit for file paths.
Today, modern versions of Windows offer robust support for long file names, allowing users to create and manage files with descriptive names without being constrained by arbitrary character limits. This evolution has significantly improved the usability and flexibility of file naming in Windows, enabling users to organize and manage their files more effectively.
Potential Issues And Risks Associated With Long File Paths
One potential issue associated with long file paths in Windows is the increased risk of encountering file and folder naming conflicts. When file paths become excessively long, it can lead to overlapping file names or locations, which can consequently result in data loss or unexpected file overwrites.
Another risk is that some applications and system processes may not be able to handle file paths that exceed a certain length. This can lead to errors or failures when trying to access or manipulate files with long paths, disrupting operations and causing frustration for users. Additionally, long file paths can complicate backup and synchronization processes, as some backup tools and cloud storage services have limitations on the maximum path length they can accommodate.
Overall, maintaining awareness of the potential issues and risks associated with long file paths in Windows is essential for ensuring the smooth functioning and integrity of file systems. It’s important for users to keep file and folder names concise and to regularly review and organize their directory structures to mitigate the risks posed by lengthy file paths.
Tips For Avoiding File Name Length Limitation Challenges
When it comes to avoiding file name length limitation challenges in Windows, there are several practical tips that can greatly help users. One key tip is to keep file names concise and focused, avoiding unnecessary words or characters that add to the overall length. Using abbreviations or acronyms can be a useful strategy to keep file names within the recommended length.
Another useful approach is organizing files into a hierarchy of folders rather than creating extremely long and complex file names. By structuring files within a well-organized folder system, users can avoid the pitfalls of excessively long file names. Additionally, choosing a consistent naming convention and regularly reviewing and organizing files can contribute to better file management and minimize the risk of file name length limitation issues.
By implementing these practical tips and best practices, users can navigate the file name length limitation challenges in Windows effectively, ensuring that their file organization remains efficient and optimized without encountering any obstacles related to excessively long file names.
Future Prospects: Windows File Name Length Restrictions
Looking to the future, there is potential for Microsoft to further relax file name length restrictions. With the rising demand for greater flexibility and compatibility in file management, Windows may consider expanding the maximum file name length beyond the current limit of 260 characters. This upgrade could potentially accommodate the growing complexity of modern file systems and allow for more descriptive and intricate file naming conventions.
Another prospect on the horizon is the integration of long file name support in more applications and operating systems. As technology continues to evolve, it is likely that Windows and other platforms will gradually align with the handling of longer file names. This shift could not only streamline file management processes but also enhance cross-platform compatibility, promoting more efficient collaboration and data exchange. Ultimately, the potential advancement in Windows file name length restrictions holds promise for improved file organization and accessibility in the digital age.
Conclusion
In the ever-evolving world of technology, the question of file name length for Windows operating systems has been a persistent mystery. With the comprehensive understanding provided in this article, users can confidently navigate the intricacies of file naming conventions and achieve optimal system functionality. As Microsoft continues to innovate and adapt to user needs, it is imperative for individuals and organizations to stay informed about file name specifications. By adhering to the recommended best practices outlined in this article, users can ensure seamless file management and storage, maximizing productivity and efficiency in their computing endeavors.
In conclusion, by demystifying the complexities surrounding Windows file name length, this article empowers users to make informed decisions and efficiently manage their digital assets. As technology continues to advance, understanding and adhering to file name limitations is essential for maintaining a well-organized digital environment, promoting streamlined operations and data integrity.
A filename or file name is a name used to uniquely identify a computer file in a file system. Different file systems impose different restrictions on filename lengths.
A filename may (depending on the file system) include:
- name – base name of the file
- extension – may indicate the format of the file (e.g.
.txt
for plain text,.pdf
for Portable Document Format,.dat
for unspecified binary data, etc.)
The components required to identify a file by utilities and applications varies across operating systems, as does the syntax and format for a valid filename.
The characters allowed in filenames depend on the file system. The letters A–Z and digits 0–9 are allowed by most file systems; many file systems support additional characters, such as the letters a–z, special characters, and other printable characters such as accented letters, symbols in non-Roman alphabets, and symbols in non-alphabetic scripts. Some file systems allow even unprintable characters, including Bell, Null, Return and Linefeed, to be part of a filename,[1] although most utilities do not handle them well.
Filenames may include things like a revision or generation number of the file,
a numerical sequence number (widely used by digital cameras through the DCF standard),
a date and time (widely used by smartphone camera software and for screenshots),
or a comment such as the name of a subject or a location or any other text to help identify the file.
Some people use the term filename when referring to a complete specification of device, subdirectories and filename such as the Windows C:\Program Files\Microsoft Games\Chess\Chess.exe.
The filename in this case is Chess.exe.
Some utilities have settings to suppress the extension as with MS Windows Explorer.[not verified in body]
During the 1970s, some mainframe and minicomputers had operating systems where files on the system were identified by a user name, or account number.
For example, on the TOPS-10 and RSTS/E operating systems from Digital Equipment Corporation, files were identified by
- optional device name (one or two characters) followed by an optional unit number, and a colon «:». If not present, it was presumed to be SY:
- the account number, consisting of a bracket «[«, a pair of numbers separated by a comma, and followed by a close bracket «]». If omitted, it was presumed to be yours.
- mandatory file name, consisting of 1 to 6 characters (upper-case letters or digits)
- optional 3-character extension.
On the OS/360 and successor operating systems from IBM, a file name can be up to 44 characters, consisting of upper case letters, digits, and the period; a file name had to start with a letter or number, a period must occur at least once each 8 characters, two consecutive periods can not appear in the name, and the name must end with a letter or digit.[2][3] By convention, when using TSO, the letters and numbers before the first period is the account number of the owner or the project it belongs to, but there is no requirement to use this convention.[4]
On the McGill University MUSIC/SP system, file names consisted of
- Optional account number, which was one to four characters followed by a colon.If the account number was missing, it was presumed to be in your account, but if it was not, it was presumed to be in the *COM: pseudo-account, which is where all files marked as public were catalogued.
- 1–17 character file name, which could be upper case letters or digits, and the period, with the requirement it not begin or end with a period, or have two consecutive periods.
The Univac VS/9 operating system had file names consisting of
- Account name, consisting of a dollar sign «$», a 1-7 character (letter or digit) username, and a period («.»). If not present it was presumed to be in your account, but if it was not, the operating system would look in the system manager’s account $TSOS. If you typed in a dollar sign only as the account, this would indicate the file was in the $TSOS account unless the first 1–7 character of the file name before the first period matched an actual account name, then that account was used, e.g. ABLE.BAKER is a file in your account, but if not there the system would search for $TSOS.ABLE.BAKER, but if $ABLE.BAKER was specified, the file $TSOS.ABLE.BAKER would be used unless $ABLE was a valid account, then it would look for a file named BAKER in that account.
- File name, 1–56 characters (letters and digits) separated by periods. File names cannot start or end with a period, nor can two consecutive periods appear.
In 1985, RFC 959 officially defined a pathname to be the character string that must be entered into a file system by a user in order to identify a file.[5]
On early personal computers using the CP/M operating system, filenames were always 11 characters. This was referred to as the 8.3 filename with a maximum of an 8 byte name and a maximum of a 3 byte extension. Utilities and applications allowed users to specify filenames without trailing spaces and include a dot before the extension. The dot was not actually stored in the directory. Using only 7 bit characters allowed several file attributes to be included in the actual filename by using the high-order-bit; these attributes included Readonly, Archive, and System.[6] Eventually this was too restrictive and the number of characters allowed increased. The attribute bits were moved to a special block of the file including additional information.[citation needed]
The original File Allocation Table (FAT) file system, used by Standalone Disk BASIC-80, had a 6.3 file name, with a maximum of 6 bytes in the name and a maximum of 3 bytes in the extension. The FAT12 and FAT16 file systems in IBM PC DOS/MS-DOS and Microsoft Windows prior to Windows 95 used the same 8.3 convention as the CP/M file system. The FAT file systems supported 8-bit characters, allowing them to support non-ASCII characters in file names, and stored the attributes separately from the file name.
Around 1995, VFAT, an extension to the MS-DOS FAT filesystem, was introduced in Windows 95 and Windows NT. It allowed mixed-case long filenames (LFNs), using Unicode characters, in addition to classic «8.3» names.
File naming schemes
[edit]
Programs and devices may automatically assign names to files such as a numerical counter (for example IMG_0001.JPG
) or a time stamp with the current date and time.
The benefit of a time stamped file name is that it facilitates searching files by date, given that file managers usually feature file searching by name. In addition, files from different devices can be merged in one folder without file naming conflicts.
Numbered file names, on the other hand, do not require that the device has a correctly set internal clock. For example, some digital camera users might not bother setting the clock of their camera. Internet-connected devices such as smartphones may synchronize their clock from a NTP server.
References: absolute vs relative
[edit]
An absolute reference includes all directory levels. In some systems, a filename reference that does not include the complete directory path defaults to the current working directory. This is a relative reference. One advantage of using a relative reference in program configuration files or scripts is that different instances of the script or program can use different files.
This makes an absolute or relative path composed of a sequence of filenames.
Number of names per file
[edit]
Unix-like file systems allow a file to have more than one name; in traditional Unix-style file systems, the names are hard links to the file’s inode or equivalent. Windows supports hard links on NTFS file systems, and provides the command fsutil
in Windows XP, and mklink
in later versions, for creating them.[7][8] Hard links are different from Windows shortcuts, classic Mac OS/macOS aliases, or symbolic links. The introduction of LFNs with VFAT allowed filename aliases. For example, longfi~1.???
with a maximum of eight plus three characters was a filename alias of «long file name.???
» as a way to conform to 8.3 limitations for older programs.
This property was used by the move command algorithm that first creates a second filename and then only removes the first filename.
Other filesystems, by design, provide only one filename per file, which guarantees that alteration of one filename’s file does not alter the other filename’s file.
Length restrictions
[edit]
Some filesystems restrict the length of filenames. In some cases, these lengths apply to the entire file name, as in 44 characters in IBM z/OS.[3] In other cases, the length limits may apply to particular portions of the filename, such as the name of a file in a directory, or a directory name. For example, 9 (e.g., 8-bit FAT in Standalone Disk BASIC), 11 (e.g. FAT12, FAT16, FAT32 in DOS), 14 (e.g. early Unix), 21 (Human68K), 31, 30 (e.g. Apple DOS 3.2 and 3.3), 15 (e.g. Apple ProDOS), 44 (e.g. IBM S/370),[3] or 255 (e.g. early Berkeley Unix) characters or bytes. Length limits often result from assigning fixed space in a filesystem to storing components of names, so increasing limits often requires an incompatible change, as well as reserving more space.
A particular issue with filesystems that store information in nested directories is that it may be possible to create a file with a complete pathname that exceeds implementation limits, since length checking may apply only to individual parts of the name rather than the entire name. Many Windows applications are limited to a MAX_PATH
value of 260, but Windows file names can easily exceed this limit.[9] From Windows 10, version 1607, MAX_PATH limitations have been removed.[10]
Filename extensions
[edit]
Filenames in some file systems, such as FAT and the ODS-1 and ODS-2 levels of Files-11, are composed of two parts: a base name or stem and an extension or suffix used by some applications to indicate the file type. Some other file systems, such as Unix file systems, VFAT, and NTFS, treat a filename as a single string; a convention often used on those file systems is to treat the characters following the last period in the filename, in a filename containing periods, as the extension part of the filename.
Multiple output files created by an application may use the same basename and various extensions. For example, a Fortran compiler might use the extension FOR
for source input file, OBJ
for the object output and LST
for the listing. Although there are some common extensions, they are arbitrary and a different application might use REL
and RPT
. Extensions have been restricted, at least historically on some systems, to a length of 3 characters, but in general can have any length, e.g., html
.
Encoding interoperability
[edit]
There is no general encoding standard for filenames.
File names have to be exchanged between software environments for network file transfer, file system storage, backup and file synchronization software, configuration management, data compression and archiving, etc. It is thus very important not to lose file name information between applications. This led to wide adoption of Unicode as a standard for encoding file names, although legacy software might not be Unicode-aware.
Encoding indication interoperability
[edit]
Traditionally, filenames allowed any character in their filenames as long as they were file system safe.[11] Although this permitted the use of any encoding, and thus allowed the representation of any local text on any local system, it caused many interoperability issues.
A filename could be stored using different byte strings in distinct systems within a single country, such as if one used Japanese Shift JIS encoding and another Japanese EUC encoding. Conversion was not possible as most systems did not expose a description of the encoding used for a filename as part of the extended file information. This forced costly filename encoding guessing with each file access.[11]
A solution was to adopt Unicode as the encoding for filenames.
In the classic Mac OS, however, encoding of the filename was stored with the filename attributes.[11]
Unicode interoperability
[edit]
The Unicode standard solves the encoding determination issue.
Nonetheless, some limited interoperability issues remain, such as normalization (equivalence), or the Unicode version in use. For instance, UDF is limited to Unicode 2.0; macOS’s HFS+ file system applies NFD Unicode normalization and is optionally case-sensitive (case-insensitive by default.) Filename maximum length is not standard and might depend on the code unit size. Although it is a serious issue, in most cases this is a limited one.[11]
On Linux, this means the filename is not enough to open a file: additionally, the exact byte representation of the filename on the storage device is needed. This can be solved at the application level, with some tricky normalization calls.[12]
The issue of Unicode equivalence is known as «normalized-name collision». A solution is the Non-normalizing Unicode Composition Awareness used in the Subversion and Apache technical communities.[13] This solution does not normalize paths in the repository. Paths are only normalized for the purpose of comparisons. Nonetheless, some communities have patented this strategy, forbidding its use by other communities.[clarification needed]
To limit interoperability issues, some ideas described by Sun are to:
- use one Unicode encoding (such as UTF-8)
- do transparent code conversions on filenames
- store no normalized filenames
- check for canonical equivalence among filenames, to avoid two canonically equivalent filenames in the same directory.[11]
Those considerations create a limitation not allowing a switch to a future encoding different from UTF-8.
One issue was migration to Unicode.
For this purpose, several software companies provided software for migrating filenames to the new Unicode encoding.
- Microsoft provided migration transparent for the user throughout the VFAT technology
- Apple provided «File Name Encoding Repair Utility v1.0».[14]
- The Linux community provided «convmv».[15]
Mac OS X 10.3 marked Apple’s adoption of Unicode 3.2 character decomposition, superseding the Unicode 2.1 decomposition used previously. This change caused problems for developers writing software for Mac OS X.[16]
Within a single directory, filenames must be unique. Since the filename syntax also applies for directories, it is not possible to create a file and directory entries with the same name in a single directory. Multiple files in different directories may have the same name.
Uniqueness approach may differ both on the case sensitivity and on the Unicode normalization form such as NFC, NFD.
This means two separate files might be created with the same text filename and a different byte implementation of the filename, such as L»\x00C0.txt» (UTF-16, NFC) (Latin capital A with grave) and L»\x0041\x0300.txt» (UTF-16, NFD) (Latin capital A, grave combining).[17]
Letter case preservation
[edit]
Some filesystems, such as FAT prior to the introduction of VFAT, store filenames as upper-case regardless of the letter case used to create them. For example, a file created with the name «MyName.Txt» or «myname.txt» would be stored with the filename «MYNAME.TXT» (VFAT preserves the letter case). Any variation of upper and lower case can be used to refer to the same file. These kinds of file systems are called case-insensitive and are not case-preserving. Some filesystems prohibit the use of lower case letters in filenames altogether.
Some file systems store filenames in the form that they were originally created; these are referred to as case-retentive or case-preserving. Such a file system can be case-sensitive or case-insensitive. If case-sensitive, then «MyName.Txt» and «myname.txt» may refer to two different files in the same directory, and each file must be referenced by the exact capitalization by which it is named. On a case-insensitive, case-preserving file system, on the other hand, only one of «MyName.Txt», «myname.txt» and «Myname.TXT» can be the name of a file in a given directory at a given time, and a file with one of these names can be referenced by any capitalization of the name.
From its original inception, the file systems on Unix and its derivative systems were case-sensitive and case-preserving. However, not all file systems on those systems are case-sensitive; by default, HFS+ and APFS in macOS are case-insensitive but case-preserving, and SMB servers usually provide case-insensitive behavior (even when the underlying file system is case-sensitive, e.g. Samba on most Unix-like systems), and SMB client file systems provide case-insensitive behavior. File system case sensitivity is a considerable challenge for software such as Samba and Wine, which must interoperate efficiently with both systems that treat uppercase and lowercase files as different and with systems that treat them the same.[18]
Reserved characters and words
[edit]
File systems have not always provided the same character set for composing a filename. Before Unicode became a de facto standard, file systems mostly used a locale-dependent character set. By contrast, some new systems permit a filename to be composed of almost any character of the Unicode repertoire, and even some non-Unicode byte sequences. Limitations may be imposed by the file system, operating system, application, or requirements for interoperability with other systems.
Many file system utilities prohibit control characters from appearing in filenames. In Unix-like file systems, the null character[19] and the path separator /
are prohibited.
Problematic characters
[edit]
File system utilities and naming conventions on various systems prohibit particular characters from appearing in filenames or make them problematic:[9] Except as otherwise stated, the symbols in the Character column, « and < for example, cannot be used in Windows filenames.
Character | Name | Reason for prohibition |
---|---|---|
/
|
slash | Used as a path name component separator in Unix-like, Windows, and Amiga systems. (For as long as the SwitChar setting is set to /, the DOS COMMAND.COM shell would consume it as a switch character, but DOS and Windows themselves always accept it as a separator on API level.) The big solidus ⧸ (Unicode code point U+29F8) is permitted in Unix and Windows filenames. |
\
|
backslash | Used as the default path name component separator in DOS, OS/2 and Windows (even if the SwitChar is set to ‘-‘; allowed in Unix filenames, see Note 1). The big reverse solidus ⧹ (U+29F9) is permitted in Windows filenames. |
?
|
question mark | Used as a wildcard in Unix, Windows and AmigaOS; marks a single character. Allowed in Unix filenames, see Note 1. The glottal stop ʔ (U+0294), the interrobang ‽ (U+203D), the inverted question mark ¿ (U+00BF), the double question mark ⁇ (U+2047), and the black question mark ornament❓(U+2753) are allowed in all filenames. |
%
|
percent | Used as a wildcard in RT-11; marks a single character. Not special on Windows. |
*
|
asterisk or star |
Used as a wildcard in Unix, DOS, RT-11, VMS and Windows. Marks any sequence of characters (Unix, Windows, DOS) or any sequence of characters in either the basename or extension (thus *.* in DOS means «all files»). Allowed in Unix filenames, see Note 1.See Star (glyph) for many asterisk-like characters allowed in filenames. |
:
|
colon | Used to determine the mount point / drive on Windows; used to determine the virtual device or physical device such as a drive on AmigaOS, RT-11 and VMS; used as a pathname separator in classic Mac OS. Doubled after a name on VMS, indicates the DECnet nodename (equivalent to a NetBIOS [Windows networking] hostname preceded by \\ .) Colon is also used in Windows to separate an alternative data stream from the main file.The letter colon ꞉ (U+A789) and the ratio symbol ∶ (U+2236) are permitted in Windows filenames. In the Segoe UI font, used in Windows Explorer, the glyphs for the colon and the letter colon are identical. |
|
|
vertical bar or pipe |
Designates software pipelining in Unix, DOS and Windows; allowed in Unix filenames, see Note 1. The mathematical operator divides ∣ (U+2223) is permitted in Windows filenames. |
"
|
straight double quote | A legacy restriction carried over from DOS. The single quotes ‘ (U+0027), ‘ (U+2018), and ’ (U+2019) and the curved double quotes left double quotation mark “ (U+201C) and right double quotation mark ” (U+201D) are permitted anywhere in filenames. See Note 1. |
<
|
less than | Used to redirect input, allowed in Unix filenames, see Note 1. The spacing modifier letter left arrowhead ˂ (U+02C2) is permitted in Windows filenames. |
>
|
greater than | Used to redirect output, allowed in Unix filenames, see Note 1. The spacing modifier letter right arrowhead ˃ (U+02C3) is permitted in Windows filenames. |
.
|
period or dot |
Folder names cannot end with a period in Windows, though the name can end with a period followed by a whitespace character such as a non-breaking space. Elsewhere, the period is allowed, but the last occurrence will be interpreted to be the extension separator in VMS, DOS, and Windows. In other OSes, usually considered as part of the filename, and more than one period (full stop) may be allowed. In Unix, a leading period means the file or folder is normally hidden. |
,
|
comma | Allowed, but treated as separator by the command line interpreters COMMAND.COM and CMD.EXE on DOS and Windows. |
;
|
semicolon | Allowed, but treated as separator by the command line interpreters Bourne shell (and compatibles) and C shell (and compatibles) on Unix-like systems, and COMMAND.COM and CMD.EXE on DOS and Windows. See Note 1. |
=
|
equals sign | Allowed, but treated as separator by the command line interpreters COMMAND.COM and CMD.EXE on DOS and Windows. |
|
space | Allowed, but the space is also used as a parameter separator in command line applications; see Note 1. |
Note 1: While they are allowed in Unix file and folder names, most Unix shells require specific characters such as spaces, <, >, |, \, and sometimes :, (, ), &, ;, #, as well as wildcards such as ? and *, to be quoted or escaped:
five\ and\ six\<seven
(example of escaping)'five and six<seven'
or"five and six<seven"
(examples of quoting)
The character å (0xE5
) was not allowed as the first letter in a filename under 86-DOS and MS-DOS/PC DOS 1.x-2.x, but can be used in later versions.
In Windows utilities, the space and the period are not allowed as the final character of a filename.[20] The period is allowed as the first character, but some Windows applications, such as Windows Explorer, forbid creating or renaming such files (despite this convention being used in Unix-like systems to describe hidden files and directories). Workarounds include appending a dot when renaming the file (that is then automatically removed afterwards), using alternative file managers, creating the file using the command line, or saving a file with the desired filename from within an application.[21]
Some file systems on a given operating system (especially file systems originally implemented on other operating systems), and particular applications on that operating system, may apply further restrictions and interpretations. See comparison of file systems for more details on restrictions.
In Unix-like systems, DOS, and Windows, the filenames «.» and «..» have special meanings (current and parent directory respectively). Windows 95/98/ME also uses names like «…», «….» and so on to denote grandparent or great-grandparent directories.[22] All Windows versions forbid creation of filenames that consist of only dots, although names consisting of three dots («…») or more are legal in Unix.
In addition, in Windows and DOS utilities, some words are also reserved and cannot be used as filenames.[21] For example, DOS device files:[23]
CON, CONIN$, CONOUT$, PRN, AUX, CLOCK$, NUL COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9[9] LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9[9] LST (only in 86-DOS and DOS 1.xx) KEYBD$, SCREEN$ (only in multitasking MS-DOS 4.0) $IDLE$ (only in Concurrent DOS 386, Multiuser DOS and DR DOS 5.0 and higher) CONFIG$ (only in MS-DOS 7.0-8.0)
Systems that have these restrictions cause incompatibilities with some other filesystems. For example, Windows will fail to handle, or raise error reports for, these legal UNIX filenames: aux.c,[24] q»uote»s.txt, or NUL.txt.
NTFS filenames that are used internally include:
$Mft, $MftMirr, $LogFile, $Volume, $AttrDef, $Bitmap, $Boot, $BadClus, $Secure, $Upcase, $Extend, $Quota, $ObjId and $Reparse
Comparison of filename limitations
[edit]
System | Case sensitive |
Case preserving |
Allowed character set | Reserved characters | Reserved words | Maximum length (characters) | Comments |
---|---|---|---|---|---|---|---|
8-bit FAT | ? | ? | 7-bit ASCII (but stored as bytes) | first character not allowed to be 0x00 or 0xFF | 9 | Maximum 9 character base name limit for sequential files (without extension), or maximum 6 and 3 character extension for binary files; see 6.3 filename | |
FAT12, FAT16, FAT32 | No | No | any SBCS/DBCS OEM codepage | 0x00–0x1F 0x7F " * / : < > ? \ | + , . ; = [ ] (in some environments also: ! @ ; DOS 1/2 did not allow 0xE5 as first character)
|
Device names including: $IDLE$ AUX COM1...COM4 CON CONFIG$ CLOCK$ KEYBD$ LPT1...LPT4 LST NUL PRN SCREEN$ (depending on AVAILDEV status everywhere or only in virtual \DEV\ directory)
|
11 | Maximum 8 character base name limit and 3 character extension; see 8.3 filename |
VFAT | No | Yes | Unicode, using UCS-2 encoding | 0x00–0x1F 0x7F " * / : < > ? \ |
|
255 | ||
exFAT | No | Yes | Unicode, using UTF-16 encoding | 0x00–0x1F 0x7F " * / : < > ? \ |
|
255 | ||
NTFS | Optional | Yes | Unicode, using UTF-16 encoding | 0x00–0x1F 0x7F " * / : < > ? \ |
|
Only in root directory: $AttrDef $BadClus $Bitmap $Boot $LogFile $MFT $MFTMirr pagefile.sys $Secure $UpCase $Volume $Extend $Extend\$ObjId $Extend\$Quota $Extend\$Reparse ($Extend is a directory) | 255 | Paths can be up to 32,000 characters.
Forbids the use of characters in range 1–31 (0x01–0x1F) and characters » * / : < > ? \ | unless the name is flagged as being in the Posix namespace. NTFS allows each path component (directory or filename) to be 255 characters long [dubious – discuss]. Windows forbids the use of the MS-DOS device names AUX, COM0, …, COM9, COM¹, …, COM³, CON, LPT0, …, LPT9, LPT¹, …, LPT³, NUL and PRN. These names with an extension (for example, AUX.txt), are allowed but not recommended.[25] The Win32 API strips trailing period (full-stop), and leading and trailing space characters from filenames, except when UNC paths are used. These restrictions only apply to Windows; in Linux distributions that support NTFS, filenames are written using NTFS’s Posix namespace, which allows any Unicode character except / and NUL. |
OS/2 HPFS | No | Yes | any 8-bit set | |\?*<«:>/ | 254 | ||
Mac OS HFS | No | Yes | any 8-bit set | : | 255 | old versions of Finder are limited to 31 characters | |
HFS+ | Optional | Yes | Unicode, using UTF-16 encoding | : on disk, in classic Mac OS, and at the Carbon layer in macOS; / at the Unix layer in macOS | 255 | Mac OS 8.1 — macOS | |
APFS | Optional | Yes | Unicode, using UTF-8 encoding[26] | In the Finder, filenames containing / can be created, but / is stored as a colon (:) in the filesystem, and is shown as such on the command line. Filenames containing : created from the command line are shown with / instead of : in the Finder, so that it is impossible to create a file that the Finder shows as having a : in its filename. | 255 | macOS Sierra (10.12.4) and later, iOS 10.3 and later, tvOS 10.2 and later, watchOS 3.2 and later, iPadOS | |
most UNIX file systems | Yes | Yes | any 8-bit set | / null | 255 | a leading . indicates that ls and file managers will not show the file by default
|
|
z/OS classic MVS filesystem (datasets) | No | No | EBCDIC code pages | other than $ # @ — x’C0′ | 44 | first character must be alphabetic or national ($, #, @)
«Qualified» contains |
|
CMS file system | No | No | EBCDIC code pages | 8 + 8 | Single-level directory structure with disk letters (A–Z). Maximum of 8 character file name with maximum 8 character file type, separated by whitespace. For example, a TEXT file called MEMO on disk A would be accessed as «MEMO TEXT A». (Later versions of VM introduced hierarchical filesystem structures, SFS and BFS, but the original flat directory «minidisk» structure is still widely used.) | ||
early UNIX (AT&T Corporation) | Yes | Yes | any 8-bit set | / | 14 | a leading . indicates a «hidden» file | |
POSIX «Fully portable filenames»[27] | Yes | Yes | A–Z a–z 0–9 . _ -
|
/ null | 14 | hyphen must not be first character. A command line utility checking for conformance, «pathchk», is part of the IEEE 1003.1 standard and of The Open Group Base Specifications[28] | |
ISO 9660 | No | ? | A–Z 0–9 _ . | «close to 180″(Level 2) or 200(Level 3) | Used on CDs; 8 directory levels max (for Level 1, not level 2,3) | ||
Amiga OFS | No | Yes | any 8-bit set | : / null | 30 | Original File System 1985 | |
Amiga FFS | No | Yes | any 8-bit set | : / null | 30 | Fast File System 1988 | |
Amiga PFS | No | Yes | any 8-bit set | : / null | 107 | Professional File System 1993 | |
Amiga SFS | No | Yes | any 8-bit set | : / null | 107 | Smart File System 1998 | |
Amiga FFS2 | No | Yes | any 8-bit set | : / null | 107 | Fast File System 2 2002 | |
BeOS BFS | Yes | Yes | Unicode, using UTF-8 encoding | / | 255 | ||
DEC PDP-11 RT-11 | No | No | RADIX-50 | 6 + 3 | Flat filesystem with no subdirs. A full «file specification» includes device, filename and extension (file type) in the format: dev:filnam.ext. | ||
DEC VAX VMS | No | From v7.2 |
A–Z 0–9 $ - _
|
32 per component; earlier 9 per component; latterly, 255 for a filename and 32 for an extension. | a full «file specification» includes nodename, diskname, directory/ies, filename, extension and version in the format: OURNODE::MYDISK:[THISDIR.THATDIR]FILENAME.EXTENSION;2 Directories can only go 8 levels deep.
|
||
Commodore DOS | Yes | Yes | any 8-bit set | :, = | $ | 16 | length depends on the drive, usually 16 |
HP 250 | Yes | Yes | any 8-bit set | SPACE ", : NULL CHR$(255)
|
6 | Disks and tape drives are addressed either using a label (up to 8 characters) or a unit specification. The HP 250 file system does not use directories, nor does it use extensions to indicate file type. Instead the type is an attribute (e.g. DATA, PROG, BKUP or SYST for data files, program files, backups and the OS itself).[29] |
- File system
- Fully qualified file name
- Long filename
- Path (computing)
- Slug (Web publishing)
- Symbolic link
- Uniform Resource Identifier (URI)
- Uniform Resource Locator (URL) and Internationalized resource identifier
- Windows (Win32) File Naming Conventions (Filesystem Agnostic)
- ^ David A. Wheeler (August 22, 2023). «Fixing Unix/Linux/POSIX Filenames: Control Characters (such as Newline), Leading Dashes, and Other Problems». Archived from the original on May 25, 2024. Retrieved July 14, 2024.
- ^ IBM Operating System/360 Concepts and Facilities (PDF). IBM. 1965. p. 23. C28-6535-0.
- ^ a b c d «Data Set Naming Rules». z/OS TSO/E User’s Guide. IBM.
- ^ «Data Set Naming Conventions». z/OS TSO/E User’s Guide. IBM.
- ^ File Transfer Protocol (FTP). doi:10.17487/RFC0959. RFC 959.
- ^ «CPM — CP/M disk and file system format».
- ^ «Fsutil command description page». Microsoft.com. Archived from the original on October 6, 2013. Retrieved September 15, 2013.
- ^ «NTFS Hard Links, Directory Junctions, and Windows Shortcuts». Flex hex. Inv Softworks. Archived from the original on July 11, 2011. Retrieved March 12, 2011.
- ^ a b c d «Naming Files, Paths, and Namespaces». December 15, 2022. Retrieved October 8, 2023.
- ^ «Maximum Path Length Limitation — Win32 apps». July 18, 2022.
- ^ a b c d e David Robinson; Ienup Sung; Nicolas Williams (March 2006). «Solaris presentations: File Systems, Unicode, and Normalization» (PDF). San Francisco: Sun.com. Archived from the original (PDF) on July 4, 2012.
- ^ «Filenames with accents». Ned Batchelder. June 2011. Retrieved September 17, 2013.
- ^ «NonNormalizingUnicodeCompositionAwareness — Subversion Wiki». Wiki.apache.org. January 21, 2013. Retrieved October 8, 2023.
- ^ «File Name Encoding Repair Utility v1.0». Support.apple.com. June 1, 2006. Retrieved October 2, 2018.
- ^ «convmv — converts filenames from one encoding to another». J3e.de. Retrieved September 17, 2013.
- ^ «Re: git on MacOSX and files with decomposed utf-8 file names». KernelTrap. May 7, 2010. Archived from the original on March 15, 2011. Retrieved July 5, 2010.
- ^ «Cross platform filepath naming conventions — General Programming». GameDev.net. Retrieved October 8, 2023.
- ^ «CaseInsensitiveFilenames — The Official Wine Wiki». Wiki.winehq.org. November 8, 2009. Archived from the original on August 18, 2010. Retrieved August 20, 2010.
- ^ «The Open Group Base Specifications Issue 6». IEEE Std 1003.1-2001. The Open Group. 2001.
- ^ «Windows Naming Conventions». MSDN, Microsoft.com. See last bulleted item.
- ^ a b Naming a file msdn.microsoft.com (MSDN), filename restrictions on Windows
- ^ Microsoft Windows 95 README for Tips and Tricks, Microsoft, archived from the original on November 1, 2014
- ^ MS-DOS Device Driver Names Cannot be Used as File Names, Microsoft, archived from the original on March 20, 2014
- ^ Ritter, Gunnar (January 30, 2007). «The tale of «aux.c»«. Heirloom Project.
- ^ alvinashcraft (February 26, 2024). «Naming Files, Paths, and Namespaces — Win32 apps». learn.microsoft.com. Retrieved June 11, 2024.
- ^ «Apple File System Reference» (PDF). Apple Inc.
- ^ Lewine, Donald. POSIX Programmer’s Guide: Writing Portable UNIX Programs 1991 O’Reilly & Associates, Inc. Sebastopol, CA pp63–64
- ^ pathchk — check pathnames
- ^ Hewlett-Packard Company Roseville, CA HP 250 Syntax Reference Rev 1/84 Manual Part no 45260-90063
- File Extension Library
- FILExt
- WikiExt — File Extensions Encyclopedia
- «Naming Files, Paths, and Namespaces». Microsoft Docs. December 15, 2022.
- 2009 POSIX portable filename character set
- Standard ECMA-208, December 1994, System-Independent Data Format
- Best Practices for File Naming, USA: Stanford University Libraries, Data Management Services, archived from the original on July 30, 2021
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 Windows/File Explorer, but may not be able to delete/move/rename these paths/files.
What is the maximum length of a filename in Windows 10?
By default, Windows uses a path length limitation (MAX_PATH) of 256 characters: Naming Files, Paths, and Namespaces.
What is the maximum allowable length of a file name?
directory, name, and extension is 255 characters.
How to enable paths longer than 260 characters in Windows 10?
Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem. Double click Enable NTFS long paths. Select Enabled, then click OK.
What is too long a file name?
Windows has a maximum limit of 260 characters for a file path, including the file name and all folders in the path. By shortening the file name or rearranging the folder structure, you may be able to open the file successfully.
Fix maximum file path length restrictions in Windows 10 || Enable Paths Longer Than 260 Characters
How do I enable long filenames in Windows 10?
In Windows 10 Pro or Enterprise, hit Start, type gpedit. msc, and press Enter. In the Local Group Policy Editor, in the left-hand pane, drill down to Computer Configuration > Administrative Templates > System > Filesystem. On the right, find the «Enable win32 long paths» item and double-click it.
What is the maximum file name length in NTFS?
NTFS allows each path component (directory or filename) to be 255 characters long.
What is the 260 character limit in Windows 10?
In editions of Windows before Windows 10 version 1607, the maximum length for a path is MAX_PATH, which is defined as 260 characters. In later versions of Windows, changing a registry key or using the Group Policy tool is required to remove the limit. See Maximum Path Length Limitation for full details.
Why disable Windows path length limit?
The «Disable path length limit» option refers to the maximum length of the file paths that Windows can handle. Disabling this limit can allow for longer file paths, which can be useful if you are working with files that have very long names or are stored in deeply nested directories.
How do I allow long filenames in Windows?
Go to Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem, then enable the Enable Win32 long paths option.
Is there any way around the 259 character limit?
In editions of Windows before Windows 10 version 1607, the maximum length for a path is MAX_PATH, which is defined as 260 characters. In later versions of Windows, changing a registry key or using the Group Policy tool is required to remove the limit.
What is the longest file extension name?
Besides the fact that any filename cannot be longer then 255 characters, there is no limit imposed on a file extension length. This is because the file’s extension is not separate from, but is a part of the filename itself.
What is the maximum length of file names in Windows and DOS?
On MS-DOS, file names are case-insensitive and limited to eight characters, plus optionally a period and three more characters.
What are the rules for file names in Windows?
Directory and file component names must be no more than 255 characters in length. Directory names can’t end with the forward slash character (/). If provided, it will be automatically removed. File names must not end with the forward slash character (/).
What are the rules for file names?
Don’t start or end your filename with a space, period, hyphen, or underline. Keep your filenames to a reasonable length and be sure they are under 31 characters. Most operating systems are case sensitive; always use lowercase. Avoid using spaces and underscores; use a hyphen instead.
How do I remove 256 character limit in Windows?
Here’s how:
- Press Windows key + R to bring up the Run dialogue.
- Type in “gpedit. …
- Navigate to the following location: Computer Configuration > Administrative Templates > System > File System.
- In the right pane, you should find the setting Enable Win32 long paths.
- Double-click this setting and change it to Enabled.
Why is file path too long?
Users get the “Destination Path Too Long” error while trying to copy, move or remove certain files or folders on Windows operating systems. Most of the time, this error happens because Microsoft has a 256/260 folder and name restriction in place.
What is the maximum file path length limitation?
There are limitations on Windows computers restricting invalid characters or file path names that exceed 260 characters. A common reason for a file path needing to be renamed is if there is an invalid character in an item name in Procore.
Why are file paths limited?
Windows historically had a limitation on file paths due to the way it handled file systems and file naming conventions. The limitation, specifically the 260-character limit for file paths, was a result of compatibility issues with older applications and the use of the NTFS file system.
What is the maximum length of a Windows hostname?
Windows doesn’t permit computer names that exceed 15 characters, and you can’t specify a DNS host name that differs from the NetBIOS host name. However, you might create host headers for a website that’s hosted on a computer.
Can a file name have a maximum of 255 characters?
Long file names are limited to 255 characters in Windows. However, the maximum path length in Windows is 259 characters. The maximum path length represents the length of the file name, plus the number of characters used to represent the drive and folder where the file is located.
What is the maximum character size for a hostname in Windows?
If you choose a hostname longer than 15 characters, it will work without problems as long as you don’t use any services that depend on NETBIOS. Windows will generate a shorter, 15 character name for NETBIOS and you will have a different NETBIOS-name than hostname.
What characters are not allowed in Windows filenames?
The following reserved characters:
- < (less than)
- > (greater than)
- : (colon)
- » (double quote)
- / (forward slash)
- \ (backslash)
- | (vertical bar or pipe)
- ? (question mark)
What is the 260 character limit in Windows Explorer?
In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which is defined as 260 characters. A local path is structured in the following order: drive letter, colon, backslash, name components separated by backslashes, and a terminating null character.
What is the limit of NTFS in Windows 10?
NTFS can support volumes as large as 8 petabytes on Windows Server 2019 and newer and Windows 10, version 1709 and newer (older versions support up to 256 TB). Supported volume sizes are affected by the cluster size and the number of clusters.
In Windows 10, you can enable long file name support, which allows file names up to 32,767 characters (although you lose a few characters for mandatory characters that are part of the name). To enable this, perform the following: Start the registry editor (regedit.exe)
- What is the maximum length of a filename?
- How do I allow long file names in Windows 10?
- What is the character limit for file names in Windows?
- What is the maximum length of the filename in due?
- Why is there a 255 character limit?
- When did Windows allow long file names?
- Why does Windows have a 260 character limit?
- How long should file names be?
- Can a file path be too long?
- How many words is 255 characters?
- Is the maximum length of the filename is MS DOS?
- What is the maximum length of the filename in DOS a 4?
- How long can a file path be?
What is the maximum length of a filename?
The maximum combined length of the file name and path name is 1024 characters. The Unicode representation of a character can occupy several bytes, so the maximum number of characters that a file name might contain can vary. On Linux: The maximum length for a file name is 255 bytes.
How do I allow long file names in Windows 10?
Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem. Double click Enable NTFS long paths. Select Enabled, then click OK.
What is the character limit for file names 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 filename in due?
Solution(By Examveda Team)
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.
Why is there a 255 character limit?
The limit occurs due to an optimization technique where smaller strings are stored with the first byte holding the length of the string. Since a byte can only hold 256 different values, the maximum string length would be 255 since the first byte was reserved for storing the length.
When did Windows allow long file names?
Windows finally added long file name support in Windows 95, joining other operating systems like Unix, OS/2, and macOS that already included long file name support. Released in August 1995, Windows 95 featured a new version of FAT, called VFAT, that supported file names with a maximum length of 255 characters.
Why does Windows have a 260 character limit?
It’s just that the property of a folder in Windows only reports the number of folder and files that don’t violate the limitation. It’s as if that Windows Explorer doesn’t dig any deeper to discover folders when the max path is reached. It is possible to delete a long path in 7-zip with shift-del.
How long should file names be?
Be unique and consistently structured; Be persistent and not tied to anything that changes over time or location; Limit the character length to no more than 25-35 characters; Use leading 0s to facilitate sorting in numerical order if following a numeric scheme “001, 002, …
Can a file path be too long?
Most standard applications, including Windows Explorer (File Explorer), do not work correctly with long path files exceeding 256 characters. Under the file name, Windows understands the entire path, starting with the root of the drive, ending with the last subfolder, and the file name itself.
How many words is 255 characters?
Answer: 250 characters is between 40 words and 60 words with spaces included in the character count. If spaces are not included in the character count, then 250 characters is between 40 words and 80 words.
Is the maximum length of the filename is MS 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 length of the filename in DOS a 4?
Detailed Solution
The correct answer is 8. The older MS-DOS FAT file system allows for a maximum of 8 characters in the basic file name and 3 characters in the extension, for a total of 12 characters with the dot separator.
How long can a file path be?
While Windows’ standard file system (NTFS) supports paths up to 65,535 characters, Windows imposes a maximum path length of 255 characters (without drive letter), the value of the constant MAX_PATH. This limitation is a remnant of MS DOS and has been kept for reasons of compatibility.
Давно известен тот факт, что Проводник Windows и большинство Windows-приложений не могут работать с файлами и папками, длина пути к которым превышает 260 символов. И это — лишь программное ограничение на уровне Win32 API, известное также как MAX_PATH, тогда как файловая система NTFS сама по себе допускает до 32767 символов в адресе объекта файловой системы, чем успешно пользовались сторонние приложения, работавшие в обход стандартного API, например, FAR и Total Commander.
Также данное ограничение не касалось работы с файлами при сетевом доступе, что приводило к казусным ситуациям: рядовой пользователь в расшаренной папке может создавать и изменять файлы и папки, администратор через Windows Explorer — получает отказ доступа. Причём данное ограничение имело место не только в Windows 7/8/8.1 и более ранних ОС, но и в новейшей Windows 10.
Для обхода ограничения применялся, в зависимости от ситуации и уровня подготовки сидящего за ПК пользователя, целый ряд различных приёмов: символические ссылки, ручное сокращение количества символов, создание виртуальных дисков и прочее.
И вот, как сообщает ряд тестеров регулярно выпускаемых закрытых сборок Windows 10, компания Microsoft, наконец, снизошла до исправления этого недостатка и выпуска исправления. Точнее — реализации настройки, которую должен будет включить сам пользователь. В шаблонах групповых политик появился соответствующий параметр «Включение длинных адресов NTFS» (Конфигурация компьютера -> Административные шаблоны -> Система -> Файловая система -> NTFS).
Единственное, что огорчает — Редактор групповых политик (gpedit.msc) отсутствует в редакциях Windows 10, отличных от «Профессиональная» и «Корпоративная» (хотя существуют неофициальные и не совсем легальные способы обойти это ограничение). Впрочем, необходимые ключи в реестре наверняка будут найдены. Как подсказывает один из читателей, это параметр LongPathsEnabled (тип DWORD), расположенный в реестре по адресу HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies.
Telegram-канал @overclockers_news — теперь в новом формате. Подписывайся, чтобы быть в курсе всех новостей!