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: renger@ecoplan.ch / 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/