For example, in d:\, I have got three txt files:
a.txt
b.txt
c.txt
How can I rename them in batch like this:
file1.txt
file2.txt
file3.txt
I know I can do it in Windows Explorer by selecting all the files, pressing F2 and typing "file (1)" and this produces similar file names (though it is not file1 but file (1))
But I wanna know how I can do it in a bat file.
Could anyone who knows it help me? Many thanks!!!
a.txt
b.txt
c.txt
How can I rename them in batch like this:
file1.txt
file2.txt
file3.txt
I know I can do it in Windows Explorer by selecting all the files, pressing F2 and typing "file (1)" and this produces similar file names (though it is not file1 but file (1))
But I wanna know how I can do it in a bat file.
Could anyone who knows it help me? Many thanks!!!