vinifera Posted May 10, 2016 Posted May 10, 2016 i suck at loops can someone make me a cmd/bat script that would rename bunch of these: Windows6.1-KB2511455-x64.msu to simply KB2511455-x64.msu i have 160 of these (all different number) and its nightmare to do manual renaming...
dencorso Posted May 11, 2016 Posted May 11, 2016 All you need is the no-install GUI version of the Bulk Rename Utility. You'll do it in a few seconds.
Yzöwl Posted May 11, 2016 Posted May 11, 2016 Something simple like this may work for you. @Echo Off & SetLocal EnableDelayedExpansion For %%A In (*.msu) Do (Set "_=%%A" If "%%A" NEq "!_:*-KB=!" Ren "%%A" "KB!_:*-KB=!")
vinifera Posted May 11, 2016 Author Posted May 11, 2016 holy shit ! Yzöwl you are life saver ! cant believe it did it all in less than a second O_o THANK YOU !!!!!!!!!!!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now