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

Re: st: Acessing files in dir

From   Maarten buis <>
Subject   Re: st: Acessing files in dir
Date   Mon, 13 Jul 2009 11:58:27 +0000 (GMT)

--- On Mon, 13/7/09, Tiago Dias wrote:
> I have a directory with a few hundreds files, all in .dta.
> I need to -use- each one of them and make the same
> modification. If I modify one by one, I have a big chance
> of missing one of them or modifying twice a single file.
> I thought about using -dir- to get the filelist and
> -foreach- to have stata browsing, using, modifying and
> saving each file on filepath, but I don't know how to access
> the filenames in -dir-.

see: -ssc d dirtools-

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

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