How do I remove special characters from multiple files/directories?
Posted on 2007-11-15
On a Windows machine, I have a folder containing several thousand files, with hundreds of subfolders. Scattered throughout these are several files and folders that have characters such as '&' that cause problems on some applications.(In this instance, I'm trying to copy them into SharePoint, and it doesn't like them.) What I would like to do is run a batch file to replace all of the '&' characters with "and", although I would settle for simply removing them completely. I've looked around and found solutions for similar problems, but none of them quite fit my specific problem.
While a batch file seems the simplest solution, I'm not against using a free utility if it provides this functionality as well. My searches online found numerous options that may have done the job, but they were generally either not free, or the description was so vague I couldn't tell if they could do the job or not.