I need a windows xp script that can load a .txt file with several hundred lines and can do the following:
1. add a specified number of characters to the front of each line in the txt file
2. delete specified characters from the beginning or end of each line
3. Limit the number of characters on each line
4. Add random characters or numbers to beginning or end of each line
example:
here is original contents of txt file:
yellowbanana
redapple
greenjacket
here is the result with 3 characters (2g3) added to beginning:
2g3yellowbana
2g3redapple
2g3greenjacket
here is result with character length limited to 4
yell
reda
gree
here is result with 6 characters (abcdef) added to the end of each line:
yellowbananaabcdef
redappleabcdef
greenjacketabcdef
here is the result with random characters added to the beginning and end of each line:
yellowbanana45523
redappleaggrq9
greenjackethd3436