starting directory of eviews

For questions regarding programming in the EViews programming language.

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

lukevancleve
Posts: 18
Joined: Mon Apr 29, 2013 1:24 pm

starting directory of eviews

Postby lukevancleve » Tue Apr 15, 2014 9:46 am

Hi,

How can I set my eviews starting directory on execution? i.e. I have c:/RSMA/EViews8-64/EViews8_x64.exe A:\path/to/program.prg

Is there any flag I can set to specify the starting working directory?

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

Re: starting directory of eviews

Postby EViews Gareth » Tue Apr 15, 2014 9:47 am

There isn't a flag you can pass to the EViews executable.

Of course you can always use the CD command inside the program.

lukevancleve
Posts: 18
Joined: Mon Apr 29, 2013 1:24 pm

Re: starting directory of eviews

Postby lukevancleve » Tue Apr 15, 2014 10:13 am

I have an include statement that I need to be relative to the directory. For instance

include ..\library

doesn't work. I've tried passing in the directory as in

cd {%0}

include ..\library

but that also doesn't work

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

Re: starting directory of eviews

Postby EViews Gareth » Tue Apr 15, 2014 10:37 am

include ..\program should work.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests