Console-based Program Execution

For questions regarding programming in the EViews programming language.

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

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Console-based Program Execution

Postby tchaithonov » Wed Jul 29, 2009 10:23 pm

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

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

Re: Console-based Program Execution

Postby EViews Gareth » Wed Jul 29, 2009 11:05 pm

Rather than passing in the name of a workfile, pass in the name of the program:

EViews6.exe myprog.prg
Follow us on Twitter @IHSEViews

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Re: Console-based Program Execution

Postby tchaithonov » Thu Jul 30, 2009 6:55 am

Cool ... thanks for your advice.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 43 guests