SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have documents in a file share, and need to do a bulk renaming before uploading them to SharePoint. The reason is that SharePoint doesn't accept some special characters, like &, /, etc.

What's the easiest way to do this?

share|improve this question
BY renaming... Do you mean removing all the unaccepted character? – Shoban May 31 '11 at 4:08
Well, it could also mean replacing them, for example replacing all "/" with "-". But yes, the first objective is to get rid of the unaccepted characters. – Christophe May 31 '11 at 4:34
up vote 2 down vote accepted

Powershell is indeed a great way to bulk rename the files. Site which gives step-by-step instructions on how this can be done:

share|improve this answer

I think Powershell would probably serve well here. You can read in the files and rename them, prior to uploading to SharePoint.

share|improve this answer
Thanks Marc. I m not familiar with Powershell, where could I find more information on this read and rename option? Can the renaming be automated? – Christophe Jun 1 '11 at 4:03
It's just another scripting language. Should be easy for you to pick up. :-) yes, you can write reusable script files. – Marc D Anderson Jun 1 '11 at 12:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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