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

st: mkdir with local

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

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.


*   For searches and help try:

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