readinifile

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
snapper1969
Pro Scripter
Posts: 50
Joined: Fri Mar 23, 2007 10:14 am

readinifile

Post by snapper1969 » Sun Aug 24, 2008 1:09 pm

Hi,

I have the following portion in an ini file:

[MAPPING]
PTEMPLATE=C:\TEST\TEAM1\GL Zip Templates\
PCOMPLETED=C:\TEST\TEAM1\GL Completed Zips\
SOURCEFILES=C:\TEST\TEAM1\


[ZIPTEMPLATES]
PARM1=TEAM1 FILE1
PARM2=TEAM1 FILE4
PARM3=TEAM1 COST
PARM5=TEAM1 FILE6
PARM4=TEAM1 PSPERS
PARM6=TEAM1 GL
PARM8=STOP

Is there a way to loop through the file under zip templates and copy them to the PCOMPLETED directory?. the templates are in the PTEMPLATE directory

Thx,

John

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sun Aug 24, 2008 4:08 pm

I think this was just answered here:
http://www.mjtnet.com/forum/viewtopic.php?t=3347
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts