max length file path in windows
807605Jul 28 2007 — edited Jul 30 2007I'm working on a program that will work with path lengths greater than 260 chars in window 2003 server.
using the java.io.File class, I've found that functions such as list, lastmodified, length and exists dont work when the path length is over 260 chars.
After researching this problem on the internet, some hits showed that this is an issue called MAX_LENGTH=260
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=399638&SiteID=1
this issue is about the subsystem, the underlying file system is ok to 64k path length. to access the 32bit versions of their own code, they say to put \\?\ before the path.
http://support.softartisans.com/Forums/PrintPost.aspx?PostID=3734
trying this fixes the list function, partially fixes the lastmodified function, but doesnt fix the length function.
am I on the right track? is there a better way of doing this?