Page 1 of 1

path related

Posted: Sat Sep 05, 2015 1:55 am
by maxchen
EV 9 20150825 xp

Code: Select all

cd ..
expected to change default dir to one level up, however, it goes to the root. e.g., initial at D:\A\B, hope to change to D:\A, however, goes to D:\


In page, p148, Command Reference: Second, the default directory for exec is the Add-ins directory (in contrast with both run and include which defaults to using the EViews default directory).
I test them out, that: include -> @linepath of parent program; run -> @datapath. That is, the base dir for RUN is the current working dir, and the base dir for INCLUDE is the path of the prg file (parent file) that including it