Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: mkdir with local


From   tiago.pereira@incor.usp.br
To   statalist@hsphsun2.harvard.edu
Subject   st: mkdir with local
Date   Tue, 18 Sep 2007 19:21:50 -0300 (BRT)

Yes, definitely right, Timothy. Thx for the note. I have done that mistake
because I use names in Portuguese; and it took place during the
translation.

However, the same problem is still observed.

-------------------------------------------------------------
Dear All,

I would like to generate a new directory inside Stata and to save data
using a local macro. For example:

local name = "test_directory"
cd C:\
mkdir "`name' "
// my do file
save "C:\`name'\current_data.dta"



However, last line does not work. Is it possible to do that?

Thx in advance.

Tiago





*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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