Statalist The Stata Listserver

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

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

From   "David Harrison" <>
To   <>
Subject   st: RE: print *.do files as batch?
Date   Wed, 11 Oct 2006 16:39:25 +0100

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


-----Original Message-----
[] On Behalf Of Caleb
Sent: 11 October 2006 17:34
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

University of Oregon Sociology

This email has been scanned by the MessageLabs Email Security System.
For more information please visit 

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index