Statalist


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

st: Re: how to batch print .do files


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: how to batch print .do files
Date   Wed, 1 Oct 2008 21:39:28 +0200

cd <my directory>
cap ssc inst fs

fs *do

foreach file in `r(files)'{
print "`file'"
}

HTH
Martin _______________________
----- Original Message ----- From: "Caleb Southworth" <[email protected]>
To: <[email protected]>
Sent: Wednesday, October 01, 2008 9:32 PM
Subject: st: how to batch print .do files




Does anyone have a way to send all the dofiles in a directory to a printer under windows?

Even better would be if there were a header with the filename.

Thanks,

Caleb Southworth
Associate Professor
University of Oregon Sociology
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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