Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: executing commands on exit

From   Nick Cox <>
Subject   Re: st: executing commands on exit
Date   Tue, 13 Sep 2011 14:00:00 +0100

Did you try this?

Stata closes log files on exit. You don't need to do that yourself.

If it were otherwise, then many of us would have many open files in
all sorts of places on our computers, but fortunately Stata does what
you want on exit.


On Tue, Sep 13, 2011 at 1:54 PM, A. Berâ <> wrote:

>    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, but I don't know how to close it automatically when I
> exit Stata. Thanks.

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index