Solved DOS Batch rename files

September 22, 2011 at 18:29:13
Specs: Windows XP
Hi!

How can I rename all files in other folder:

newfolder\abc.bat
newfolder\folder\example.txt
newfolder\folder\example2.txt

I want to execute from that .bat command to rename all .txt files in newfolder\folder, something like this but it doesnt work:

ren newfolder\folder\?????????.txt newfolder\folder\?????????_1.txt


See More: DOS Batch rename files

Report •


#1
September 22, 2011 at 20:25:25
✔ Best Answer
Hi
Use the below mentioned command. You do not need batch file to do this.

ren newfolder\folder\*.txt newfolder\folder\*_1.txt

Vishal
Floppy Drive to USB
Floppy Disk to USB
Floppy Disc to USB


Report •

#2
September 23, 2011 at 05:42:49
Thanks man it works

Report •
Related Solutions


Ask Question