Windows 10: How do I remove or replace every special character in every filename in a directory?

Discus and support How do I remove or replace every special character in every filename in a directory? in Windows 10 Network and Sharing to solve the problem; I have a folder of 220+ GB of backups from an old PC. There are I don't know how many files all with some special characters. I'm trying to compress... Discussion in 'Windows 10 Network and Sharing' started by kevinTOC, Mar 9, 2021.

  1. kevinTOC Win User

    How do I remove or replace every special character in every filename in a directory?


    I have a folder of 220+ GB of backups from an old PC. There are I don't know how many files all with some special characters. I'm trying to compress the folder, but it doesn't work with these special characters.


    I do not want to go through every single file, check every single name, and remove every single special character in a folder that's over 200 GB large.


    Is there a method to remove every special character, or replace them with something else, without going through every single file?

    :)
     
    kevinTOC, Mar 9, 2021
    #1
  2. Kari Win User

    Searching for special characters

    To find any file containing -2 search for filename:*-2:

    How do I remove or replace every special character in every filename in a directory? [​IMG]

    (Click to enlarge.)

    Search parameter filename:* followed by any special character searches for that character in file names. For example searching for filename:*& finds all files with an ampersand (&) in filename, search filename:*_ finds all files with an underscore in file name, search filename:*, finds all files with a comma in file name.
     
    Kari, Mar 9, 2021
    #2
  3. Searching for special characters

    Terrific, that works. I thought the * was just a wildcard; that's what all the help faqs said. If you leave off the filename: it pulls everything with a 2 in it. It's a bit odd that MS would make a simple search that cumbersome.

    Thank you so much!
     
    TwilightTiger, Mar 9, 2021
    #3
  4. ChrisCork Win User

    How do I remove or replace every special character in every filename in a directory?

    better character support in filenames

    Do you think there will come a time when windows 10 can support as many characters in the filename as Mac or linux?

    Bit of a deal breaker integrating windows into my mac environment at the moment as many filenames have what windows would call invalid characters.

    Will it be possible if they eventually replace the file explorer with a new version?
     
    ChrisCork, Mar 9, 2021
    #4
Thema:

How do I remove or replace every special character in every filename in a directory?

Loading...
  1. How do I remove or replace every special character in every filename in a directory? - Similar Threads - remove replace every

  2. removing file extentions with special characters

    in Windows 10 Network and Sharing
    removing file extentions with special characters: I have downloaded data but the files have additional extensions with special characters. I need to remove this but rename does not work as it doesn't recognise the special characters.the files names are as follow...
  3. removing file extentions with special characters

    in Windows 10 Gaming
    removing file extentions with special characters: I have downloaded data but the files have additional extensions with special characters. I need to remove this but rename does not work as it doesn't recognise the special characters.the files names are as follow...
  4. removing file extentions with special characters

    in Windows 10 Software and Apps
    removing file extentions with special characters: I have downloaded data but the files have additional extensions with special characters. I need to remove this but rename does not work as it doesn't recognise the special characters.the files names are as follow...
  5. How can I remove the bar of special character the one below?

    in Windows 10 Drivers and Hardware
    How can I remove the bar of special character the one below?: Hi. How can I remove the bar that pops up when pressing a letter and ,while pressed, the space bar?Thanks https://answers.microsoft.com/en-us/windows/forum/all/how-can-i-remove-the-bar-of-special-character-the/e72134b1-2d1a-413b-878d-46efd1459dd9
  6. How can I tell if I create a directory that contains special characters?

    in Windows 10 Network and Sharing
    How can I tell if I create a directory that contains special characters?: I have encountered a problem, that is, when I create a folder, it will prompt me that it contains special characters. I want to know how windows system detects that a certain character is a special character. I want to judge this in advance instead of waiting for me to create...
  7. How can I tell if I create a directory that contains special characters?

    in Windows 10 Gaming
    How can I tell if I create a directory that contains special characters?: I have encountered a problem, that is, when I create a folder, it will prompt me that it contains special characters. I want to know how windows system detects that a certain character is a special character. I want to judge this in advance instead of waiting for me to create...
  8. How can I tell if I create a directory that contains special characters?

    in Windows 10 Software and Apps
    How can I tell if I create a directory that contains special characters?: I have encountered a problem, that is, when I create a folder, it will prompt me that it contains special characters. I want to know how windows system detects that a certain character is a special character. I want to judge this in advance instead of waiting for me to create...
  9. special character ¥

    in Windows 10 Drivers and Hardware
    special character ¥: I usually use three languages, English, Traditional Chinese and Japanese. And I, always, need to type the specail character "¥" using the keyboard combination of [ALT]165, but this cannot be done using English language keyboard, it will return a "?", only when I switch to...
  10. Removing characters from filenames

    in Windows 10 Network and Sharing
    Removing characters from filenames: Hello Apologises if this question is repeated somewhere, How can I remove a series of numbers and words in bulk from a folder of word documents please? Each filename contains different numbers and words but they follow the same format of: (9 numbers)-(5...