Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Batch file to rename "XX" filenames - A Config Script for Super Smash Bros. (Wii U).

8 252 bytes Raw Code
1
2
3
4
5
6
7
8
@echo off
setlocal enableDelayedExpansion
set /p "string1=Enter the characters to be changed: "
set /p "string2=Enter the new characters: "
for %%F in (*%string1%.*) do (
  set "filename=%%F"
  ren "!filename!" "!filename:%string1%=%string2%!"
)
This is a .bat file I quickly wrote since I got tired of manually renaming files to fit in my modpack.  Note that this doesn't work with folder names, but can be edited to do so.

To use:
1) Open notepad
2) Copy/paste script into notepad
3) When saving, add ".bat" to the filename and make sure you are saving as all files instead of text document
4) Save file in the directory that contains the file you want to rename
5) Run the file and follow the instructions