Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: executing commands on exit


From   A. Berâ <[email protected]>
To   [email protected]
Subject   st: executing commands on exit
Date   Tue, 13 Sep 2011 15:54:09 +0300

Dear Stata Users,

    How can I make Stata open a log file (with a name say temp)
automatically when it starts and close it automatically when I exit
Stata?

I know I can put

.log using temp.log, name(temp)

in profile.do, but I don't know how to close it automatically when I
exit Stata. Thanks.

--
abdullah berâ

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index