Hi all,
I have a template form to fill in for quite a number of files and I want to automate the filling-in process. the concept seemed to be simple but i cant get it work. the template form is a text file containing the information below:
File Name:
Date Created:
Contents:
I need to fill in the File Name section and so if I read the individual files, it will insert the corresponding information to the template. my desired output will be something like:
if i read file1.xyz, it will generate a form named file1.txt containing the information:
File Name: file1.xyz
Date Created:
Contents:
and so on..
Many thanks in advance.