A file name cannot contain any of the following characters: \ / : * ? " < > | # { } % ~ &

Hi, I am trying to upload the file in SharePoint library, and that filename contains some special character, so I am getting below message:
“A file name cannot contain any of the following characters: \ / : * ? " < > | # { } % ~ &”

After removing special character able to upload.

Why SharePoint not supporting following character “\ / : * ? " < > | # { } % ~ &” in file name?
LVL 10
Minesh ShahSharePoint & all about itAsked:
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.

Rainer JeschorCommented:
Hi,
this Microsoft KB entry lists all the file/folder/site name limitations (special characters):
http://support.microsoft.com/kb/905231

There is no explanation why - but I guess thats due to how the SharePoint request handler is processing the requests - and some of them are even not possible when you create a file on Windows like ",*,|,\,/,?

HTH
Rainer
0
Dave BaldwinFixer of ProblemsCommented:
At least some of those characters have special meanings in either the file system or in web browsers.  '/' is a path and file name separator on the web and '\' is a path and file name separator in Windows.  Using either of those in a filename would break the path for the file.  '*' and '?' are used as wildcards in Windows file systems.
0

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
Minesh ShahSharePoint & all about itAuthor Commented:
tx
0
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
Microsoft SharePoint

From novice to tech pro — start learning today.