Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Dec 2009
    Los Angeles
    Thanked 0 Times in 0 Posts

    Removing special characters from Windows filenames

    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.

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    3 Star Lounger jockmullin's Avatar
    Join Date
    Dec 2009
    Thanked 21 Times in 20 Posts
    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts