Windows Thread, Any solution to the 260 long path problem? in Technical; Hi there,
I guess that we've all run into the problem where you can't access files due to the path ...
26th November 2009, 11:02 AM #1
Any solution to the 260 long path problem?
I guess that we've all run into the problem where you can't access files due to the path lenght being over 260 characters. (end users save these using mapped drives, but when you look at them from the server the maximum path is exceeded)
Has anyone got a solution to this yet? Ideally I'd like to alter the max path lenght of all the clients to 200 characters, but Microsoft have told me in the past that this is impossible.
What have you guys done to get around this problem?
IDG Tech News
26th November 2009, 11:12 AM #2
What I have done in the past is break the job down by putting strategically place shares in place and then mapping a drive to the share. This cuts the apparent path length down to the client connecting to it. Then delete the files. I have had to do this 2 or 3 times with some of my little darlings as they set out to create the longest path they can. Some have managed over 30 levels
26th November 2009, 11:16 AM #3
Our path lengths are not particularly long, but when I find one (usually by running a Treesize scan) where a student has set out to cause a nuisance, I simply change the folder names to a single character, going into each folder in the tree until Windows will alow me to delete/move the file. Only a few occasions where this hasn't worked.
26th November 2009, 11:56 AM #4
Thanks for the replies guys, we do things like that too - there is a program called FileBoss that is very good for rooting out these long paths and can even shorten the folders if you tell it to.
I was just hoping that in the couple of years since I've researched this problem someone may have had some breakthrough in stopping the kids doing this in the first place.
26th November 2009, 12:03 PM #5
If all else fails use go to a command promt and delete everything using RD or RMdir
The following command will remove directory C:\blah and all subdirectories and files contained therein. No prompt will be displayed.
26th November 2009, 12:16 PM #6
Thanks - that's really improved the performance of our backups too! They now finish in a fraction of the time.
By WStore_Dan in forum Classified Adverts
Last Post: 14th October 2009, 03:16 PM
By DaveP in forum Windows
Last Post: 13th May 2009, 01:08 PM
By Lusion in forum Courses and Training
Last Post: 20th March 2009, 01:53 AM
By andy in forum Network and Classroom Management
Last Post: 24th April 2007, 12:24 PM
By sahmeepee in forum ICT KS3 SATS Tests
Last Post: 11th May 2006, 08:22 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)