What is maximum length of file and printer share names in Windows?

What is the maximum length of a share name in Windows for the following types of share names?
1. File share name.
2. Shared printer name.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
You're asking because... this is homework?
Brian PiercePhotographerCommented:
In both cases it is 'Around' 260 characters see http://msdn2.microsoft.com/en-us/library/aa365247.aspx
donanderAuthor Commented:
KCTS: "In both cases it is 'Around' 260 characters..."

I just want to be clear. I'm making instructions for users to share out a printer which is directly connected to a computer and I don't want to have to say "keep the name less than...".

So would I be correct in assuming that Windows 2000 or XP clients would have no problem connecting to the following printer or file share?


Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Brian PiercePhotographerCommented:
That shoud be OK. However, its best to keep the names short!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
donanderAuthor Commented:
I'm accepting KCTS's comments as the solution. This is a work-related question. I just needed confirmation that it wasn't 15 characters or something.
Lee W, MVPTechnology and Business Process AdvisorCommented:
Actually, it's 12 characters if there are any Windows 9x/Me clients and 8 with any Windows 3.1 or DOS clients.

And it helps if you want a quick answer if you provide the reason for your question- the site prohibits us from providing answers to homework questions and with no context that's EXACTLY what your question looks like.
donanderAuthor Commented:

I did not know about the prohibition against providing answers for homework. Your use of caps indicates to me that you are a little upset. I'm sorry if I offended you by ignoring your comment but if you had given a reason, as you suggested I do, for asking your question I would have responded right away that my question was not for homework. Regarding a quick answer, only 20 minutes passed before KCTS provided the first proposed solution. That's pretty quick in my experience with this site. Thank you for the additional info regarding 9x/Me, Win3.1 and DOS. If you want me to split the points I'm willing to do so if you tell me how to do this since I've already accepted another comment as the solution and if KCTS agrees. I'm not an Expert at the workings of this site.

Lee W, MVPTechnology and Business Process AdvisorCommented:
All you need to do is read the help pages to know what's appropriate and what's not.

I wasn't upset - my use of caps was for emphasis - there's no way to bold or italicize things here.

I've been using this site for years and that's the first I've ever heard of the "stipulate your reason for the question" requirement: I have to say many (if not most) of the questions here don't then follow with a reason for the question.

It also begs the question, are pupils really going to pay a subscription just to get their  homework solved?!
donanderAuthor Commented:
I just looked at the rules and found this:

Three Rules
1. Give enough information to get an answer.
2. Always respond to posts.
3. You're the one who needs help, so don't be a jerk.

I didn't see anything about giving a reason or even that answering homework was forbidden. ***Maybe*** this was a rule back when members accrued 10 points per day just by being members. But if a student wants to pay for a subscription to get answers to homework, I'm sure EE would not have a problem with that.
Lee W, MVPTechnology and Business Process AdvisorCommented:


Violating the guidelines for academic honesty or other unethical behavior; helping a student with a project is allowable, but not doing it for them.

This question, when asked almost SIX years ago and without context could be EASILY interpreted by a reasonable person as someone asking homework questions.  Could it have been something else?  SURE.  And as I stated, if a context was provided in the original question, an answer COULD have been in hand faster.  But with no context do you REALLY fault me for my ethical standards and concerns?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.