Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: defining current working directory permanently


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: defining current working directory permanently
Date   Sun, 22 Feb 2009 18:06:33 +0100

<> 

The line 


*************
cd C:/Users/`c(username)'/Documents/Stata
*************

works for me in the profile.do. Under Windows, one can also specify a path
in the "Start in:" field for the shortcut. Sorry, I cannot comment on other
OS...

HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Dragutin
Culinovic
Gesendet: Sonntag, 22. Februar 2009 18:02
An: STATALIST
Betreff: st: defining current working directory permanently

Hi all STATA users,

I would like to change current working direcrory permanently, so I
don't have to invoke command:
-cd somedir- in STATA prompt.

I tried putting -cd somedir- in profile.do in my home directory on
linux, but noting has changed.

Please help about this.

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


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