What characters are allowed and not allowed in Windows network share names?

For example, are spaces or apostrophes allowed? E.g. \\srv1\my share\ and \\srv1\foo'bar\


Refer to the official microsoft documentation, pretty much all is allowed but slashes, angular brackets etc.



To add a bit of information, localized char, like é, è, à, etc.., in a share name can get non unicode compliant application to behave badly.

In example QuickBook will throw random error while openning a DB on a share with localized char.

As such I suggest to use non localized share name even if technically you can use them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.