?
Solved

256 char problems in file system

Posted on 2006-06-23
3
Medium Priority
?
209 Views
Last Modified: 2010-04-18
I’ve been having issues on our NAS servers. I inherited this problem. My company is very data storage hungry and one of our primary shares is having issues with 256 characters. My users have no concept of folder nesting and even after attempting to train and set their limitations; I’m finding folders nested up to 14+ deep with characters exceeding 256. When this happens, if I try to access or copy the data out I receive Windows errors that the filename or extension is to long and I can’t touch it. Is there a way around this? Is there any way in windows to stop a user from attempting to create a folder or file name that then violates the 256 char limit?
0
Comment
Question by:tleavit
  • 2
3 Comments
 
LVL 104

Accepted Solution

by:
Sembee earned 2000 total points
ID: 16976037
Been there and been through the pain.
There is no way of stopping it from happening. Windows will allow the folder and file name to be created. I find the worst offenders are people saving web pages and they accept the default name.

Your only hope is to shorten the path. I have done this by using DFS to build the file structure. This allows the "real" path to be shorter.

Otherwise it comes down to user training.

Simon.
0
 

Author Comment

by:tleavit
ID: 16985048
That’s funny to because we were planning on moving this share to a DFS share but couldn’t move the data. We are receiving a lot of grief on shortening the names because people reference the data in multiple different applications like our accounting software, CAD, etc...

What a pain. but I think your comments hit the problem.

0
 
LVL 104

Expert Comment

by:Sembee
ID: 16985177
I have been through this issue with a number of clients, and at some point you have to say "enough" and the paths have to be changed. It usually comes down to poor planning of the structure, and the desire to have everything in one place. By using DFS you can make separate data appear in a single place, with compromising the 256 limit. For example, I will often setup the DFS with the share name of "data" then put everything underneath it. The more characters that I can save the better.

Simon.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

850 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