I necessarily need to put no’s into a txt file

I necessary to put no's into a txt file.
I get a lot of schoolbook files from a software that needs to be numbed.
I necessary a book that can insert no's in from of each articulate in every communication.
Can anyone provide me with a playscript to do it.
Rather a batch playscript
