+ Post New Thread
Results 1 to 6 of 6
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 ...
  1. #1
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    608
    Thank Post
    53
    Thanked 12 Times in 12 Posts
    Rep Power
    23

    Any solution to the 260 long path problem?

    Hi there,
    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?

    Thanks

  2. #2
    Hedghog's Avatar
    Join Date
    Jul 2006
    Location
    North Wales
    Posts
    194
    Thank Post
    35
    Thanked 17 Times in 16 Posts
    Rep Power
    38
    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

  3. #3

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    3,098
    Thank Post
    161
    Thanked 654 Times in 587 Posts
    Rep Power
    169
    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.

  4. #4
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    608
    Thank Post
    53
    Thanked 12 Times in 12 Posts
    Rep Power
    23
    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.

    Thanks again.

  5. #5
    smadison's Avatar
    Join Date
    Sep 2007
    Location
    UK
    Posts
    100
    Thank Post
    2
    Thanked 30 Times in 25 Posts
    Rep Power
    20
    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.


  6. #6
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    608
    Thank Post
    53
    Thanked 12 Times in 12 Posts
    Rep Power
    23
    Thanks - that's really improved the performance of our backups too! They now finish in a fraction of the time.



SHARE:
+ Post New Thread

Similar Threads

  1. [For Sale] Toshiba NB200-11L Netbook - Brand new - Only £260 including VAT & delivery
    By WStore_Dan in forum Classified Adverts
    Replies: 2
    Last Post: 14th October 2009, 03:16 PM
  2. Replies: 11
    Last Post: 13th May 2009, 01:08 PM
  3. Which path to take
    By Lusion in forum Courses and Training
    Replies: 11
    Last Post: 20th March 2009, 01:53 AM
  4. Ghost Solution Suite 2.0 Duplicate UUID problem
    By andy in forum Network and Classroom Management
    Replies: 0
    Last Post: 24th April 2007, 12:24 PM
  5. Tests not showing in DPS (problem and solution!)
    By sahmeepee in forum ICT KS3 SATS Tests
    Replies: 6
    Last Post: 11th May 2006, 08:22 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •