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

RE: st: changing directories within stata


From   "Ronnie Babigumira" <[email protected]>
To   <[email protected]>
Subject   RE: st: changing directories within stata
Date   Mon, 3 Feb 2003 13:55:24 +0100

Thanks Fred
For more general management of my folders I use .c by Nick winter. It is an
excellent utility to automate changing directories however, sometimes I
simply want to move a level higher and so what I have been missing is cd ..
(clearly, I am a product of click and go computers).

Cheers

Ronnie



-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Fred Wolfe
Sent: 3. februar 2003 12:50
To: [email protected]
Subject: Re: st: changing directories within stata


At 12:35 PM 2/3/2003 +0100, you wrote:
>Dear listers, simple but failed to figure it out. Below is a snap shot of
my
>hard disk. I have no trouble moving down from c to p_1 within stata,
>however, what I am failing to do is to move a level or two higher (eg from
>p_1 back to projects, without typing the full path of projects)
>
>
>                  C:\
>                  |
>                  +----+
>                       |
>                    stata
>                       |
>                       +----+-------------+
>                            |             |
>                          projects       reading
>                            |
>                            +---+----+
>                                |    |
>                               p_1  p_2
>
>Any help will be appreciated


You can use a global macro to identify your path. Here are some examples:

global static c:/statdata/static/
global pdox c:/statdata/pdox222f/
global sql c:/statdata/sql222f/
global amgen c:/statdata/amgen/

Fred Wolfe


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


----------------------------------------------------------------------------
------------------------
Fred Wolfe                                                          Tel
(316) 263-2125
National Data Bank for Rheumatic Diseases         Fax (316) 263-0761
Wichita,
Kansas                                    [email protected]
----------------------------------------------------------------------------
-------------------------

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

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index