batch program to run more than one program

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

alps
Posts: 28
Joined: Sun Feb 24, 2013 7:42 am

batch program to run more than one program

Postby alps » Mon Mar 11, 2013 3:59 am

Hello,
I want to run a set of programs, so instead of running them by one one, I tried to create a batch file as below. But once it runs the first program, it stops and doesn't continue on the others.
Any suggestions?
Thanks

run forecasting_aus
run forecasting_bra
run forecasting_can
run forecasting_chl
run forecasting_ind
run forecasting_kor

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: batch program to run more than one program

Postby EViews Gareth » Mon Mar 11, 2013 8:18 am

Use exec rather than run.

alps
Posts: 28
Joined: Sun Feb 24, 2013 7:42 am

Re: batch program to run more than one program

Postby alps » Tue Mar 12, 2013 1:31 am

great! Thanks.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests