I am certain this is a trivial issue, but the infuriating thing is at one point in time I had this working. I am using eviews 8 and want to simply loop through a folder of .xlsx files > create regressions > output the results into a single text file.
The typical output from the regression is fine, I don't necessarily need to manipulate the results quite yet.
Code: Select all
%filenames = @wdir(%PATH%)
cd %PATH%
%file = @word(%filenames,1)
pageload %file
output(t) out.txt
for !i=2 to @wcount(%filenames)
%file = @word(%filenames, !i)
import %file
equation eq1
eq1.ls revenue c01
next
