Replace single character in windows filenames

Posted by Matt Rogish on Super User See other posts from Super User or by Matt Rogish
Published on 2009-11-05T00:58:16Z Indexed on 2012/07/10 15:19 UTC
Read the original article Hit count: 186

Filed under:
|
|
|
|

I have a Win2k3 server that has a whole bunch of filenames that need renamed. Basically, I just need all - (dashes) replaced with _ (underscores), no matter where they are in the string. Assume that there are no duplicates. I can do this on my mac with a little script but the files are too large and crazy to transfer to my mac, rename, then go back to the server. Would love to do this in a command shell and not have to download a renamer or any add'l software. Thanks!

© Super User or respective owner

Related posts about Windows

Related posts about file