Statalist


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

Re: st: saving all file names in directory/folder


From   "Kyle K. Hood" <[email protected]>
To   [email protected]
Subject   Re: st: saving all file names in directory/folder
Date   Thu, 17 Apr 2008 14:06:47 -0400

Raphael Fraser wrote:
what wrong with my syntax?

local myfiles: dir "C:\data\kingdom\*.csv"
The help file is difficult to decipher only because we cannot shake our DOS intuition. Here is the command that you want:

local myfiles: dir "C:\data\kingdom\" files "*.csv"
*
* 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