Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Arrays - unidentified number of elements


From   "Nick Winter" <nwinter@policystudies.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Arrays - unidentified number of elements
Date   Mon, 10 Feb 2003 12:42:06 -0500

I believe that the operating system may be listing the files, but then
the OS window closes as soon as that finishes, making it impossible for
you to actually see the results.  (Which raises the question, why do you
want to do this within the OS, rather than from within Stata?)

Nick Winter


-----------------------------------------------------------
 Nicholas Winter, Ph.D.                     P 202.939.5343
 Policy Studies Associates                  F 202.939.5732
 1718 Connecticut Avenue, NW     nwinter@policystudies.com
 Washington, DC 20009-1148           www.policystudies.com
----------------------------------------------------------- 

> -----Original Message-----
> From: Karina Fortuny [mailto:palmirita_@yahoo.com] 
> Sent: Monday, February 10, 2003 12:36 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: RE: st: RE: Arrays - unidentified number of elements
> 
> 
> I realize this :). I was saying that 
> dir \mydirectory\*.dta 
> shows the files in mydirectory
> but 
> oscmd dir \mydirectorypath\*.dta 
> 
> does not - and the weird thing is that a screen
> flashes up for a second and that's it.
> 
> --- Nick Cox <n.j.cox@durham.ac.uk> wrote:
> > Karina Fortuny 
> > > 
> > > oscmd dir /b *.dta - 
> > > 
> > > When I run the program - oscmd, no results appear
> > in
> > > the Results window. (If I type just dir /b *.dta,
> > the
> > > files are listed in the results window). A window
> > > flashes for a second and disappears. The OS is
> > > Windows. 
> > 
> > This example will only produce detectable 
> > output if there is at least one .dta file
> > in the current directory. 
> > 
> > . dir *.dta
> > 
> > is Stata's way of showing that. 
> > 
> > Nick 
> > n.j.cox@durham.ac.uk 
> > 
> > *
> > *   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/
> 
> 
> =====
> "The soul unfolds itself like a lotus of countless petals." - 
> Kahlil Gibran
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> *
> *   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/
> 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index