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: MIME-Version: 1.0


From   Neil Shephard <[email protected]>
To   [email protected]
Subject   Re: st: MIME-Version: 1.0
Date   Thu, 24 Mar 2011 13:54:47 +0000

On Thu, Mar 24, 2011 at 12:53 PM, Oliver Jones
<[email protected]> wrote:
> Assuming you just want to start an interactive session and you don't work
> from a command line and open a Stata Window, then it is inconvenient to type
> use C:"very long path"/mydata
> In  this case just double clicking the mydata.dta is a lot more convenient!
>

You could ease this process by installing and using -fastcd- so that
you have a set of what are essentially macros for the "very long path"
that you can call to change directory.

Once in that "working" directory you will likely have sub-directories
for 'data', 'scripts' and so forth and its then a case of...

use "data/mydata", clear

Check out -fastcd- from ssc and install with....

ssc desc fastcd
ssc install fastcd

Its a great little utility from Nick Winter.

Neil


-- 
“Truth in science can be defined as the working hypothesis best suited
to open the way to the next better one.” - Konrad Lorenz

Email - [email protected]
Website - http://kimura.no-ip.org/
Photos - http://www.flickr.com/photos/slackline/

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