Hi there,
there is something that is driving us mad and hope you can help
running the two following programming lines (lines 5 and 6) gives an error message
%wdir="\teseo\gestione\DIREZIONE 1\Ufficio II\Apri e lavora\Patto di Stabilità\codici_Eviews\Creazione database"
cd %wdir
The error message is:
Path or file not found : \TESEO\GESTIONE\DIREZIONE in "CD
\TESEO\GESTIONE\DIREZIONE 1\UFFICIO II\APRI E
LAVORA\PATTO DI STABILITÀ\CODICI_EVIEWS\CREAZIONE
DATABASE" on line 6.
It looks like the brackets are not recognised by the program, however I can assure you that my collegues run the same program without having any trouble
Please help!
Ottavio
double brackets & string issue
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: double brackets & string issue
When you say brackets, what do you mean? I see no brackets?
Follow us on Twitter @IHSEViews
-
- Posts: 6
- Joined: Wed Sep 02, 2020 3:24 am
Re: double brackets & string issue
I'm very sorry, I meant quotation marks i.e. this simbol "
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: double brackets & string issue
When you run the program do you have "Version 4 Compatible Mode" turn on?
- Attachments
-
- 2020-09-03_080315.png (21.36 KiB) Viewed 18611 times
Follow us on Twitter @IHSEViews
-
- Posts: 6
- Joined: Wed Sep 02, 2020 3:24 am
Re: double brackets & string issue
Let me add that the text
"\teseo\gestione\DIREZIONE 1\Ufficio II\Apri e lavora\Patto di Stabilità\codici_Eviews\Creazione database"
is colored in red, so apparently eviews considers it as a string
however when it comes to running the programm it does not work like that and it stops at \teseo\gestione\DIREZIONE 1
the first empty space is between DiREZIONE and 1
"\teseo\gestione\DIREZIONE 1\Ufficio II\Apri e lavora\Patto di Stabilità\codici_Eviews\Creazione database"
is colored in red, so apparently eviews considers it as a string
however when it comes to running the programm it does not work like that and it stops at \teseo\gestione\DIREZIONE 1
the first empty space is between DiREZIONE and 1
-
- Posts: 6
- Joined: Wed Sep 02, 2020 3:24 am
Re: double brackets & string issue
version 4 compatibility is on
-
- Posts: 6
- Joined: Wed Sep 02, 2020 3:24 am
Re: double brackets & string issue
It looks that it works if you place three quoation marks on each side
%wdir="""\\teseo.dt.tesoro.it\gestione\DIREZIONE 1\Ufficio II\Apri e lavora\Patto di Stabilità\codici_Eviews\Creazione database"""
cd %wdir
... you tell me why :-) !
thanks a lot anyway
Ottavio
%wdir="""\\teseo.dt.tesoro.it\gestione\DIREZIONE 1\Ufficio II\Apri e lavora\Patto di Stabilità\codici_Eviews\Creazione database"""
cd %wdir
... you tell me why :-) !
thanks a lot anyway
Ottavio
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: double brackets & string issue
ottavio.ricchi wrote:version 4 compatibility is on
Turn it off.
Follow us on Twitter @IHSEViews
-
- Posts: 6
- Joined: Wed Sep 02, 2020 3:24 am
Re: double brackets & string issue
Gosh,
you are right, thank you.
...stil,l if version 4 is on, it works with three quotation marks
Ottavio
you are right, thank you.
...stil,l if version 4 is on, it works with three quotation marks
Ottavio
Who is online
Users browsing this forum: No registered users and 8 guests