?
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
Medium Priority
?
3,583 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 1500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…

770 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