• Removing special characters from Windows filenames

    Home » Forums » AskWoody support » Windows » Windows – other » Removing special characters from Windows filenames

    Author
    Topic
    #488260

    Does anyone have a batch file or other *simple* way to remove special characters from Windows filenames? I have many files with “AT&T” in the filename, which Windows allows but our version of SharePoint does not. Thanks for any help.

    Viewing 0 reply threads
    Author
    Replies
    • #1380083

      As a test, copy a few of those files into a temporary folder.
      Open a CMD window, navigate to that folder and type: rename *”AT&T”*.* *BELL*.*
      That should change the AT&T substring in the filename to BELL. Of course you can use something other than BELL, but whatever you use should be 4 chars in length.
      Do a dir /p and make sure the results are what you expect.

      If so then do the same thing in each of the folders that contain such files. This could be done in a batch file if you have more than a few.

      Obviously everything should be backed up first; Murphy is lurking.

      Jock

    Viewing 0 reply threads
    Reply To: Removing special characters from Windows filenames

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: