Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: change directory using locals


From   Cesar Cancho Diez <cancho10@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: change directory using locals
Date   Sat, 14 Feb 2009 12:48:58 -0800 (PST)

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index