Insert filename in each text file
Posted: Fri Dec 27, 2013 9:31 pm
Hi, I need to insert the name of the file in a certain spot in hundreds of .txt files.
For a start I need it placed at the beginning of each file: \A
Is there some way of substituting \A with some expression that will insert the filename?
Thank you.
For a start I need it placed at the beginning of each file: \A
Is there some way of substituting \A with some expression that will insert the filename?
Thank you.