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)
}
Hope this helps
David
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Caleb
Southworth
Sent: 11 October 2006 17:34
To: [email protected]
Subject: st: print *.do files as batch?
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
Caleb
[email protected]
University of Oregon Sociology
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
*
* 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/