I want to create a DOS batch to change file names. There are multiple files, and I want to change them to a unified name. For example, mmm1.txt, mmm2.txt, mmm*.txt...n are changed to bbb1.txt, bbb2.txt, bbb*.txt. I wrote ren mmm*.txt bbb*.txt, but it became bbbmmm1.txt. How to write it to become bbb1.txt?
───────────────── Moderation Record ─────────────────
Performed by: HAT
Operation: Added search keywords to the post title on 2008-10-10
Description: The original title " How to use ren" is not conducive to forum search
Punishment: Deducted 2 points of points
Tip: It is suggested to read the following posts
{1415}The Wisdom of Asking Questions
{7326}Must-read for Forum Newcomers, Basic Code of Conduct for Everyone
{22703}Please Don't Be an Impatient Person
{32667}Those Who Can't Even Write a Clear Title, Wake Up
{32825}This Board Severely Rectifies Poor Posts
───────────────── Moderation Record ─────────────────
[ Last edited by HAT on 2008-10-13 at 14:00 ]
───────────────── Moderation Record ─────────────────
Performed by: HAT
Operation: Added search keywords to the post title on 2008-10-10
Description: The original title " How to use ren" is not conducive to forum search
Punishment: Deducted 2 points of points
Tip: It is suggested to read the following posts
{1415}The Wisdom of Asking Questions
{7326}Must-read for Forum Newcomers, Basic Code of Conduct for Everyone
{22703}Please Don't Be an Impatient Person
{32667}Those Who Can't Even Write a Clear Title, Wake Up
{32825}This Board Severely Rectifies Poor Posts
───────────────── Moderation Record ─────────────────
[ Last edited by HAT on 2008-10-13 at 14:00 ]
Recent Ratings for This Post
( 3 in total)
Click for details
| Rater | Score | Time |
|---|---|---|
| HAT | -2 | 2008-10-10 20:35 |
| DOSforever | +2 | 2008-10-11 02:14 |
| zzz19760225 | +2 | 2017-10-23 14:41 |



