I use Eviews 13 Okt 2022 build.
When trying to save a table object as an excel xlsx-file into a folder which name contains spaces, the following error message appears:
(It is however possible to save a table as an csv file or as any other format to a folder which name contains spaces.)Syntax error: unexpected character '\' in file option settings.
See example code below.
Best, mamo
Code: Select all
%myfolder="c:\data\" 'Name of working directory, adjust as needed
wfcreate u 1 1
table tab
tab(1,1)="Hello"
cd %myfolder
cd A_new_folder ' A directory of this name should exist in the working directory
tab.save tab.csv ' This works
tab.save tab.xlsx ' This works
cd %myfolder
cd "A new folder" 'A directory of this name should exist in the working directory
tab.save tab.csv ' This works
tab.save tab.xlsx ' This does not work! Error message is "Syntax error: unexpected character '\' in file option settings."