I would like a script (I prefer JScript) to read a given text file (e.g. c:\temp\[url removed, login to view]) which is a comma separated variable file with one or more lines and create a new text file (e.g. c:\temp\[url removed, login to view]) from this. I’m going to use this as a template for various different script files. So I would like to make it easy to change the variables and composition of the output file. There will be one or more variables which are to be read from the input file based on their field number within the file. In some cases, I want only part of the field so an optional starting offset within the field and length could apply for each variable. The output file will be one or more lines where each line starts with a caption and then one or more variables read from the input file. Details and example files are included in the attached zip file.