Drilling into a drive and changing folder names & document names

Posted by yeahumok on Stack Overflow See other posts from Stack Overflow or by yeahumok
Published on 2010-05-10T17:01:54Z Indexed on 2010/05/10 17:14 UTC
Read the original article Hit count: 349

Filed under:
|

I have a drive on my computer that has folder--some of which have lots of folders w/in other folders and also contain files.
I need to migrate these docs into sharepoint, however a LOT of these folders and files have invalid characters that will not allow me to migrate into sharepoint (i.e. " / \ &, etc.)

Is there any way to write something in C# that basically removes these invalid characters from all folders and files?

Please help!

© Stack Overflow or respective owner

Related posts about c#

Related posts about sharepoint