Replace a word in a txt file with the original name of the file
I have a folder consisting of approximately 500 txt files. The names of these txt files were recorded as 001.txt, 002.txt….478.txt.
The contents of these files are as follows
I have a folder consisting of approximately 500 txt files. The names of these txt files were recorded as 001.txt, 002.txt….478.txt.
The contents of these files are as follows