Page 1 of 1

starting directory of eviews

Posted: Tue Apr 15, 2014 9:46 am
by lukevancleve
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?

Re: starting directory of eviews

Posted: Tue Apr 15, 2014 9:47 am
by EViews Gareth
There isn't a flag you can pass to the EViews executable.

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

Re: starting directory of eviews

Posted: Tue Apr 15, 2014 10:13 am
by lukevancleve
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

Re: starting directory of eviews

Posted: Tue Apr 15, 2014 10:37 am
by EViews Gareth
include ..\program should work.