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

Posted on 2013-10-10
Medium Priority
Last Modified: 2013-10-16
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?
Question by:Minesh Shah
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39564575
this Microsoft KB entry lists all the file/folder/site name limitations (special characters):

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 ",*,|,\,/,?

LVL 84

Accepted Solution

Dave Baldwin earned 2000 total points
ID: 39564611
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.
LVL 10

Author Closing Comment

by:Minesh Shah
ID: 39578980

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…
In the video, one can understand the process of resizing images in single or bulk. Kernel Bulk Image Resizer is an easy to use tool for resizing large number of images. One can add and resize multiple images with this tool in single go. The video sh…

588 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