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]

Re: st: Path to current .do file?


From   "James Beard" <[email protected]>
To   [email protected]
Subject   Re: st: Path to current .do file?
Date   Fri, 19 Jul 2013 02:25:02 -0000

Thanks for the input, particularly from Robert Picard - I wish I'd 
known about -project- before!  

On 18 Jul 2013 at 16:06, Jeph Herrin wrote:

> You are right. The small feature I had in mind was access to the name of the current .do/.ado file that is being executed.
> 
> Jeph
> 
> 
> On 7/18/2013 2:24 PM, Scott Merryman wrote:
> > On Thu, Jul 18, 2013 at 1:11 PM, Jeph Herrin <[email protected]> wrote:
> >>
> >> This is one of those small features which I hope to see in every new version
> >> of Stata. I'm not sure why, since Stata obsviously knows in any given state
> >> what the "current directory" is, that this cannot be stored in a system
> >> macro.
> >>
> >
> > Isn't the current directory stored in c(pwd)?
> >
> > Scott
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/help.cgi?search
> > *   http://www.stata.com/support/faqs/resources/statalist-faq/
> > *   http://www.ats.ucla.edu/stat/stata/
> >
> >
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index