windows - Batch file: renaming mutiple files -


i've been searching through archives on here can't quite find i'm looking --

i need copy xlsm files may directory june directory (that parts easy, i'm doing that). issue files end "may16.xlsm". want "may" part of filename removed , replaced "jun".

i can take off last 5 characters...but can't figure out how add them.

i've got 350+ files rename...and i'd rather not manually!

any appreciated.

-s

it's not complex thought

ren may* jun* 

will work. or if want *.xlsm files

ren may*.xlsm jun*.xlsm 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -