Hi,
I have been given a program written in a macro language that uses an .INI file as below:
[MAPPING]
PCOMPLETED=P:\Completed Zips\
SOURCEFILES=T:\SOURCEFILES\
[ENCRYPT]
PARM1=GOODBYE
[ARCHIVES]
PARM1=PAYROLL
PARM2=PENSION
PARM3=COST
PARM4=STOP
[ZIPNAMES]
PARM1=COMP PAYROLL EXTRACT %MyDialog.MyEdit%.ZIP
PARM2=COMP PENSION EXTRACT %MyDialog.MyEdit%.ZIP
PARM3=COMP COST REPORT %MyDialog.MyEdit%.ZIP
PARM4=STOP
[PAYROLL]
PARM1=T:\sourcefiles\overtime*.csv
PARM2=T:\sourcefiles\greta2*.csv
PARM3=T:\sourcefiles\passonly*.csv
PARM4=T:\sourcefiles\treking*.csv
PARM5=T:\sourcefiles\charity*.csv
PARM6=STOP
[PENSION]
PARM1=T:\sourcefiles\teltest*.csv
PARM2=T:\sourcefiles\lifp*.csv
PARM3=T:\sourcefiles\lifd*.csv
PARM4=T:\sourcefiles\mpcall*.csv
PARM5=T:\sourcefiles\nonclass*.csv
PARM6=STOP
[COST]
PARM1=T:\sourcefiles\costs_*.csv
PARM2=STOP
What would be the best way to transfer this data to use in PBWIN, is it to still use an .ini file?. I need to loop through all the files above that were generated on the day that the program is run but I'm not sure how to use the headings in the ini file.
Thx,
John
I have been given a program written in a macro language that uses an .INI file as below:
[MAPPING]
PCOMPLETED=P:\Completed Zips\
SOURCEFILES=T:\SOURCEFILES\
[ENCRYPT]
PARM1=GOODBYE
[ARCHIVES]
PARM1=PAYROLL
PARM2=PENSION
PARM3=COST
PARM4=STOP
[ZIPNAMES]
PARM1=COMP PAYROLL EXTRACT %MyDialog.MyEdit%.ZIP
PARM2=COMP PENSION EXTRACT %MyDialog.MyEdit%.ZIP
PARM3=COMP COST REPORT %MyDialog.MyEdit%.ZIP
PARM4=STOP
[PAYROLL]
PARM1=T:\sourcefiles\overtime*.csv
PARM2=T:\sourcefiles\greta2*.csv
PARM3=T:\sourcefiles\passonly*.csv
PARM4=T:\sourcefiles\treking*.csv
PARM5=T:\sourcefiles\charity*.csv
PARM6=STOP
[PENSION]
PARM1=T:\sourcefiles\teltest*.csv
PARM2=T:\sourcefiles\lifp*.csv
PARM3=T:\sourcefiles\lifd*.csv
PARM4=T:\sourcefiles\mpcall*.csv
PARM5=T:\sourcefiles\nonclass*.csv
PARM6=STOP
[COST]
PARM1=T:\sourcefiles\costs_*.csv
PARM2=STOP
What would be the best way to transfer this data to use in PBWIN, is it to still use an .ini file?. I need to loop through all the files above that were generated on the day that the program is run but I'm not sure how to use the headings in the ini file.
Thx,
John
Comment