Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: sysdir set for do-files or datasets ?


From   Buzz Burhans <wsb2@cornell.edu>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: sysdir set for do-files or datasets ?
Date   Thu, 18 Dec 2003 09:06:17 -0500

Hi Nick,

Your point is well taken, but mind you, when the directories are not adjacent on the path, changing from:

. pwd
C:\Stata8

to

. c MH
C:\Documents and Settings\Buzz Burhans\My Documents\Active 6 GlycolStudyWorking9-9-02\3MH

Is a LOT of typing moving from parent to child etc.

Buzz Burhans



At 01:17 PM 12/18/2003 +0000, you (Nick Cox)wrote:

Nick Winter's program is very useful; but the
implication here that the only alternative is
using full directory names is incorrect.

I can change to a parent directory in
Stata by

. cd ..

and to a child directory by

. cd other

and to another subdirectory in the same
directory by

. cd ..\another

or

. cd ../another

This is a little more typing than -c-, which
is where the latter clearly scores, but it
is a lot less than typing out the fullnames
(or doing it through WIMP). The idea of
going up a level of the tree, down a
level of the tree, etc. is also a pleasant
reminder of our forebears' arboreal existence.

Nick
n.j.cox@durham.ac.uk
Buzz Burhans
wsb2@cornell.edu


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index