Solved

Windowss XP - Is there a way to change the MAX_PATH value for pathname/filename?  I want to reduce it to 220 characters.

Posted on 2008-11-03
2
3,518 Views
Last Modified: 2012-05-05
I have a problem accesssing user data that meets the 255 character limit when accessing it via DFS-Root. Adding the DFS-Root path to the file forces the the pathname to exceed 255 characters and can not be accessed or deleted and causes file recovery from shadow copy to fail.

Is there a Group Policy or Registry key I can set/modify?

Thanks.
0
Comment
Question by:CRHSICT
2 Comments
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 22867656
No. The path length will differ, depending on how you access the file (UNC path, mapped drive, locally).
There is no general 255 character limit, by the way. The NTFS limit is around 32000 characters. It's only an *application* problem; if an application uses the old APIs to access files (and even Explorer.exe and Office 2003 still use them ...), it will indeed not be able to access any path longer than 255 characters. There's no way around this except to shorten the path either by renaming or by accessing it through a mapped drive that's pointing deeper into the folder structure.


0
 

Author Closing Comment

by:CRHSICT
ID: 31512690
That's what I thought. As you have correctly surmaized it is Word 2003 that is creating these long file names. I really find it hard to comprehend why Explorer does not support 32kb pathname as it is the driving force behind Windows. Try shutting down Explorer in Task Manager then try accessing your Desktop!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Compromised PC? 17 168
egit plugin on eclipse 8 28
Windows USB 4TB Backup Drive 7 28
Difference bet. 3G v 4G RAM on Win7 32-bit 5 46
Several part series to implement Internet Explorer 11 Enterprise Mode
Know what services you can and cannot, should and should not combine on your server.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now