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,562 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 85

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

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

695 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