PRB: Path Limit Is 260 Bytes, Not Characters

This article has been archived. It is offered "as is" and will no longer be updated.

SYMPTOMS

When adding files or creating folders in your project, you may see thefollowing message:

The folder name you specified is too long. The complete folderpath must be less than 260 characters.

You may see this message even if your path is less than 260 charactersbecause of one of the following reasons:

This limit is the number of bytes supported in the path, not the numberof characters. If using double-byte characters, you will hit this limitlong before you have 260 characters in the path.

The path on your client machine is longer than the path on the Web, so you hit this limit sooner than expected.

CAUSE

The path to the Web files on the server may be shorter than the path to thefiles on the local drive. Although the Web path may be short enough, whenyou add a few extra folders for the local drive location the path becomestoo long. For example, a Web path could be as follows: