[BATCH]Create a batch that changes all .txt extensions to .bat

Solved
TonyCraft Anthony Posted messages 54 Status Membre -  
TonyCraft Anthony Posted messages 54 Status Membre -
Hello,
I would like to create a batch file that changes the extension of all files from .txt to .bat in a given folder.
Thank you for your help.
Best regards,
TonyCraft Anthony

2 réponses

TonyCraft Anthony Posted messages 54 Status Membre 3
 
Hello,
thank you for your reply, I had thought of it but I wasn't sure it would work.
Best regards,
TonyCraft Anthony
0
diode80 Posted messages 89 Registration date   Status Membre Last intervention   42
 
hello

it's basic DOS
ren *.txt *.bat

rename *.txt *.bat

a+
-1