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

Solved
TonyCraft Anthony Posted messages 54 Status Member -  
TonyCraft Anthony Posted messages 54 Status Member -
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 answers

  1. TonyCraft Anthony Posted messages 54 Status Member 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
  2. diode80 Posted messages 89 Registration date   Status Member Last intervention   42
     
    hello

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

    rename *.txt *.bat

    a+
    -1