Statalist The Stata Listserver


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

st: RE: RE: print *.do files as batch?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: print *.do files as batch?
Date   Wed, 11 Oct 2006 17:01:27 +0100

An alternative, which is really the same answer, 
is to make use of -fs- from SSC. 

Nick 
[email protected] 

David Harrison
 
> You could print all the .do files in your current working directory in
> Stata with:
> 
> local dofiles : dir . files "*.do"
> foreach f of local dofiles {
> 	print `f', like(log)
> }
 
Caleb Southworth
 
> Does anyone have a method to dump all *.do files to a printer under
> windows from within stata? Or is this better done via cmd/dos prompt?
> 
> I'm imagining an equivalent to stata's -print- but for all 
> the do files
> in a particular directory, such as \prj\dofiles\*.do

*
*   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