This renaming of files is largely between you
and your (still unstated) operating system,
although Stata is available as an intermediary.
For example, under the Windows XP command prompt,
rename can be used to rename files. From within
Stata
!rename a76.dta b76.dta
will do the same thing.
Nick
[email protected]
victor michael zammit
> I am using version 8.2
> What I am trying to do is to isolate normally distributed
> variables closest
> to a mean of 50 and a sd of 10.
> The following clip is from a generation of 1000 such
> variables . 76 and 833
> are variables that qualify to the relevant criteria .They
> are saved in my
> directory as a76.dta and a833.dta respectively .
> mean sd i
> > > ---------------------------
> > > 1. 49.96996 9.978514 76
> ......................
> > > 15. 50.08827 9.936735 833
>
> What I need is a code that is capable of (for example) ,
> renaming a76.dta
> , b76.dta & a833.dta , b833.dta , and thus being able
> to freely write
> over the previous a1.dta , a2.dta ..... a1000.dta , to
> handle other
> criteria , while conserving memory .
*
* 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/