<>
Have you really tried this:
*************
cd "`gr1'"
*************
Should work...
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Cesar Cancho
Diez
Gesendet: Samstag, 14. Februar 2009 21:49
An: [email protected]
Betreff: st: change directory using locals
hi all
I am trying to include a line like this in a program:
cd `gr1'
the problem is that the local gr1 is:
C:\Documents and Settings\Cancho\My Documents\Research
because of the blank spaces, this line never runs (always returns invalid
syntax , r(198)). I have tried all the possible combinations of quotes and
double quotes, but i couldn't make it work. Any idea or suggestion???
Thanks in advance,
Cesar
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/