How to replace a single character in Windows filenames using a batch file?
Fresh3 days ago
Mar 15, 202666484 viewsConfidence Score0%
0%
Problem
I have a Windows Server 2003 server that has a whole bunch of filenames that need renaming. Basically, I just need all (hyphens) replaced with (underscores), no matter where they are in the filename. Assume that there are no duplicates. I can do this on my Mac with a little script but the files are…
Error Output
-
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to replace a single character in Windows filenames using a batch file?
Low Risk
From the command prompt - assuming that all of your files are in the same directory: ONE-LINER Keep in mind that this is a one shot per command prompt window. That means if you cancel this for any reason, then you'll need to open another command pro…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix