' From the Command window above, type
'    cd C:\Windows

' Outside EViews, from a Windows command prompt, type
'    mkdir C:\mydatapath\test-eviews\databanks

' From the Menu bar above, select
' Options -> General Options -> File locations, and
' Set the Current Datapath to
'    C:\mydatapath\test-eviews\databanks

' Run this program (dbtest.prg)

db(type=aremos) abank1
db(type=aremos) abank2.bnk
' Notice that abank2 has been created in the wrong directory
' C:\Windows

close abank1
close abank2


dbopen(type=aremos) C:\mydatapath\test-eviews\databanks\abank1
' Error here because abank2 was created in the wrong directory
dbopen(type=aremos) C:\mydatapath\test-eviews\databanks\abank2.bnk



