Statalist The Stata Listserver


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

st: local: dir


From   Taavi Lai <[email protected]>
To   [email protected]
Subject   st: local: dir
Date   Mon, 08 May 2006 13:27:39 +0300

Dear statalist,

I tried to store a list of directories in current folder like -fs- does for later use in -foreach-.

. local i: dir "." dir "*"

. di `i'
europa_500000_mapinfoprogshapefiles

Unfortunately as you can see that all the folder names were stored as one string.
Do you have any suggestions how to correct this or where to look further.

Best regards,
Taavi
*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index