Featured Article

Understanding the 260 Character Path Length Limit in Windows · designed to impress

Layla Aug 05, 2026

Maximum Path Length Limitation

Understanding the 260 Character Path Length Limit in Windows
Understanding the 260 Character Path Length Limit in Windows

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 .

Character Limit Using HTML CSS and JavaScript with Source Code
Character Limit Using HTML CSS and JavaScript with Source Code

Maximum Path Length Limitation 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 .

Remove the Max Path Length Limit (260

Copilot on Windows 11 and 10 doubles characters limit gets upload files
Copilot on Windows 11 and 10 doubles characters limit gets upload files

Windows has a well-known limitation that restricts the maximum length of a file or folder path to 260 characters . File Explorer and many Win32 apps cannot handle file paths longer than 260 characters .

Windows 95 abandoned that to allow long file names, but still limited the maximum path length (which includes the full folder path and the file name) to 260 characters . That limit has been in place ever since.

Desbloqueie o Windows 10 com uma Chave de Produto Genuína
Desbloqueie o Windows 10 com uma Chave de Produto Genuína

What are the file path length limits

What are the path length limits across platforms? The following table summarizes the maximum file path length for each platform. The most restrictive limit you encounter in everyday use is 260 characters on Windows File Explorer and Office desktop apps.

The path length limitation in Windows operating systems can be traced back to the early DOS era. In the Windows API, the maximum path length is defined as the MAX_PATH constant, with a value of 260 characters .

How to Remove Filename Character Length Restriction in Windows 10
How to Remove Filename Character Length Restriction in Windows 10

Daily Challenge

Modern versions of Windows ( Windows 10 version 1607 and later, including Windows 11) can support longer paths , up to about 32,767 characters ( the Win32 extended‑length path limit ), if long path support is enabled via Group Policy or the registry, and the application being used supports extended- length paths . Practical fixes include:

MAX_PATH=260 is a Win32 API limit covering " D:\ + up to 256 characters + the terminating NUL," while NTFS itself can handle extended- length paths of roughly 32,767 characters .

Copilot on Windows 11 and 10 doubles characters limit gets upload files
Copilot on Windows 11 and 10 doubles characters limit gets upload files

Windows File Path Limit

Understand the 260-character Windows file path limit (MAX_PATH), its origins, how to count characters , common problems, and modern solutions for long paths in Windows 10+.

What is Character User Interface CUI GeeksforGeeks
What is Character User Interface CUI GeeksforGeeks
Push Notification Character Limit Everything You Need to Know
Push Notification Character Limit Everything You Need to Know
c How can I print ASCII characters from 128 to 255 Stack Overflow
c How can I print ASCII characters from 128 to 255 Stack Overflow
4 Cara Format Flashdisk di PC Paling Gampang Bid TIK Polda Kepri
4 Cara Format Flashdisk di PC Paling Gampang Bid TIK Polda Kepri
How to Remove Filename Character Length Restriction in Windows 3 Easy
How to Remove Filename Character Length Restriction in Windows 3 Easy
Microsoft raised the character limit on Edge Copilot to 8000 allowing
Microsoft raised the character limit on Edge Copilot to 8000 allowing
Push Notification Character Limit Everything You Need to Know
Push Notification Character Limit Everything You Need to Know
How to Use the Tracert Traceroute Command in Windows GeeksforGeeks
How to Use the Tracert Traceroute Command in Windows GeeksforGeeks
Managing Environment Variables in Windows 11 A 767 Character Limit
Managing Environment Variables in Windows 11 A 767 Character Limit