Statalist


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

Re: st: renaming path name in 100 do-files


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: renaming path name in 100 do-files
Date   Thu, 24 Sep 2009 16:27:03 -0400

Why don't you put them into the same directory then? I mean, just
replicate the same directory structure on your computer, instead of
changing the 100 programs.
Obviously you wouldn't be in this mess if your colleague had a global
pointing to a particular directory and used it everywhere.
Regards, Sergiy



On Thu, Sep 24, 2009 at 10:02 AM, raoul reulen <r.c.reulen@gmail.com> wrote:
> Dear all,
>
> I received around 100 different do-files from a colleague, but the
> path name in each do-file is different from my computer because the
> do-files were on a different computer. Is there any easy way to change
> the path in each do-file without having to physically open each
> do-file and replace the path name?
>
> Thanks,
>
> Raoul
> *
> *   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