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,552 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

An article on effective troubleshooting
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

738 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