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: Accessing and using *.do file filename


From   "Nancy Briggs" <[email protected]>
To   <[email protected]>
Subject   st: Accessing and using *.do file filename
Date   Wed, 22 Jun 2011 13:13:21 +0930

Hello,

I am looking for a way to capture the name of the *.do file I am currently
using so I can display it in the
output file I create.  c(filename) returns the most recent data file, and
dir *.do does list the *.do files in the current directory, but I can't seem
to extract the current *.do file's name.

Many thanks!


Nancy Briggs
Data Management & Analysis Centre
[email protected]



*
*   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