Jump to content

Recommended Posts

Posted

With the 255 character path plus file name limit is there any plug in or

software that will allow a network admin. to search for all files that

violate the limit? The server will allow you to create a file that violates

the limit, but then you cannot rename the file, or access it without renaming

the above folders to a shorter name to get under the limit. I'd like to

smoke out all of these violations and address them at once instead of

stumbling across them one at a time. I have made the users aware of the

limit, but we all know that doesn't stop them from doing it again and again.

 

Thanks!

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: 255 character path

 

 

"mich" <mich@discussions.microsoft.com> wrote in message

news:3103CB75-C11F-4C6F-A651-75414AE54608@microsoft.com...

> With the 255 character path plus file name limit is there any plug in or

> software that will allow a network admin. to search for all files that

> violate the limit? The server will allow you to create a file that

> violates

> the limit, but then you cannot rename the file, or access it without

> renaming

> the above folders to a shorter name to get under the limit. I'd like to

> smoke out all of these violations and address them at once instead of

> stumbling across them one at a time. I have made the users aware of the

> limit, but we all know that doesn't stop them from doing it again and

> again.

>

> Thanks!

>

 

Try this command from a Command Prompt:

 

dir /s "d:\User Files" | find /i "is too long" > c:\TooLong.txt

 

By the way, it is not the "server that allows you to create a

file that violates the limit" but rather some applications that

are capable of handling paths longer than 255 chars. Windows

itself can handle them too, as can NTFS. You can access them

yourself by using one of the following methods:

- Create a substituted drive letter that points into the middle

of the excessively long path, or

- Create a share that points into the middle of the excessively

long path.


×
×
  • Create New...