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: Get actual file name
From
Renger van Nieuwkoop <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Get actual file name
Date
Tue, 5 Jul 2011 08:09:31 +0000
Hi
Is it possible to get the actual file name in Stata. I want to use this information to automatically name my log file? (so I can use this for every other file over and over again)
E.g. something like:
- Get actual file name (for example : test.do), save it in a local macro "actual"
- log using "actual"
Thanks
Renger
__________________________________________________
ECOPLAN
Forschung und Beratung in Wirtschaft und Politik
Economic Research and Policy Consultancy
Thunstrasse 22 / CH-3005 Bern (Switzerland)
Tel +41 31 356 61 61 / Fax +41 31 356 61 60
mailto: [email protected] / http://www.ecoplan.ch
__________________________________________________
*
* 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/