Statalist


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

st: AW: defining current working directory permanently


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
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: [email protected]
[mailto:[email protected]] 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index