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: set local for avoiding path names


From   Jeph Herrin <[email protected]>
To   [email protected]
Subject   Re: st: set local for avoiding path names
Date   Mon, 13 Jan 2014 16:55:03 -0500

If you are using Windows, try

 local path c:/filepath/filedir

then

 use "`path'/myfile.dta", clear



Hope this helps,
Jeph


On 1/13/2014 3:34 PM, [email protected] wrote:
Dear  all,

I want to create a do-file and I don’t want to constantly repeat the
path names of files. What can I do?

Kind Regards

John Cybulski

PS I apologize Nick Cox and Steven Samuels I forgot

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index