Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

RE: st: Pulling in files and data stored in a folder tree


From   "Ben Hoen" <bhoen@lbl.gov>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Pulling in files and data stored in a folder tree
Date   Mon, 30 Jul 2012 16:23:10 -0400

OK.  Thanks David I will look into this.

Ben Hoen
LBNL
Office: 845-758-1896
Cell: 718-812-7589


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of David Radwin
Sent: Monday, July 30, 2012 3:34 PM
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: Pulling in files and data stored in a folder tree

Ben,

You may run into problems with backslashes in path names that precede
local macros (example below). The simplest fix is to use forward slashes.
See: 

Nicholas J. Cox, 2008. "Stata tip 65: Beware the backstabbing backslash,"
Stata Journal, StataCorp LP, vol. 8(3), pages 446-447, September.
http://www.stata-journal.com/article.html?article=pr0042

David
--
David Radwin
Senior Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794

www.mprinc.com

>      cd "`basedirectory\`c'\`y'"  // whatever fits your file system
*
*   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   |   Site index