Rename the cmd mask catalogue
-
We need to change the name of the bat file from the bat file.
test-123
Let's say,test
The mask. Me-123
unknown.ren test* test
Not working.
-
Team
ren
prevents the use of sub-standard symbols. The target can be solved byfor
:for /d %%d in (test*.*) do ( ren %%d test )
Consider that this code will find and try to rename it.
test
All catalogues whose name begins withtest
(and, of which, coincides). If there's a lot of catalogues found, it's only the first.