Page 1 of 1

Console-based Program Execution

Posted: Wed Jul 29, 2009 10:23 pm
by tchaithonov
Hi,

I have suddenly become curious as to how to tell eviews to run programs after opening the eviews program + wf1 file from command prompt. Say I've already started the program and opened the workfile by "Eviews6.exe abc.wf1", what should I do next to, say, tell this copy of eviews to run a program that I would do some regressions, produce some results, save them, and ultimately quits Eviews. I remember someone claimed to have an Excel macro that could control Eviews, so I just wonder if I could do the same for command prompt. Thanks guys.

Tchaithonov

Re: Console-based Program Execution

Posted: Wed Jul 29, 2009 11:05 pm
by EViews Gareth
Rather than passing in the name of a workfile, pass in the name of the program:

EViews6.exe myprog.prg

Re: Console-based Program Execution

Posted: Thu Jul 30, 2009 6:55 am
by tchaithonov
Cool ... thanks for your advice.