Statalist The Stata Listserver

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

st: local: dir

From   Taavi Lai <>
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'

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,
* For searches and help try:

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