I have downloaded some files from the internet, and the command rules are like 1.rm, 2.rm... 11.rm, 12.rm... 100.rm, etc.
It's not very pleasant to sort by file name in Windows Explorer. Is there a convenient way under DOS to uniformly complete to three (or a specified number of) digits, that is, 1.rm --> 001.rm, 11.rm --> 011.rm, etc.
Also, in some cases, there are some prefixes in front of the number, such as sanguo1.rm, which should be changed to sanguo001.rm, etc.
I've been trying the for command for a long time and it doesn't work. I'm asking for help from all the experts, please give more advice.
It's not very pleasant to sort by file name in Windows Explorer. Is there a convenient way under DOS to uniformly complete to three (or a specified number of) digits, that is, 1.rm --> 001.rm, 11.rm --> 011.rm, etc.
Also, in some cases, there are some prefixes in front of the number, such as sanguo1.rm, which should be changed to sanguo001.rm, etc.
I've been trying the for command for a long time and it doesn't work. I'm asking for help from all the experts, please give more advice.



