Page 1 of 1

Retrieve local directory

Posted: Thu Apr 26, 2012 8:00 am
by Silvana
I'm using Eviews 6
Is there anyway to retrieve the local directory? The default directory is known. I know I can change to another directory using "cd" like cd "a:\sample data", but I'm not always sure of the drive letter on a server path. I would like to be able to "read" file sample data (for example) in my program file from the current folder? Is that possible? Thanks Silvana

Retrieve local directory

Posted: Thu Apr 26, 2012 8:52 am
by EViews Gareth
@runpath returns the path containing the program file you are running. I believe it was available in EV6, but am not certain (and don't have a copy handy to check).

Re: Retrieve local directory

Posted: Thu Apr 26, 2012 12:16 pm
by Silvana
Oh yes that worked. Thanks again.