art photo

DSDR KB

Q:  

How does one find all of their STATA files in a particular space?

A:  

It is best to do this from the DOS prompt using the NDIR command. The first step is to get to your work space through DOS. Once in the appropriate area, submit the NDIR command that will search for specific file extentions. The following is an example searching out STATA data files with the .dta extention. The closing /S in the command will send it into sub-directories.

T:\sb>ndir  *.DTA  /s

Files            = Files contained in this path
Size             = Number of bytes in the file
Last Update      = Date file was last updated
Owner            = ID of user who created or copied the file

SINOPE/SHARED:SHARED\SB\DANA\*.DTA
Files                      Size Last Update     Owner
----------------- ------------- --------------- -------------------------
NEARTO~1.DTA    o        13,360  3/29/06  2:25p sbriske
TNEART~1.DTA    o        13,262  3/29/06  2:27p sbriske


        26,622  bytes (32,768  bytes in 8 blocks allocated)
             2  Files

SINOPE/SHARED:SHARED\SB\STATA\*.DTA
Files                      Size Last Update     Owner
----------------- ------------- --------------- -------------------------
EXAMFAC2.DTA    o        59,994  9/07/00  4:59p sbriske
EXAMPFAC.DTA    o        59,994  8/29/00  1:09p sbriske
EXAMPRO.DTA     o        31,578  8/31/00  6:41p sbriske

Related Question Groups:


W A R N I N G

If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software. The following are good choices:

Firefox
Opera
Safari