Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Re: loop over file names


From   "Wanli Zhao" <zhaowl@temple.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Re: loop over file names
Date   Tue, 6 Jun 2006 18:13:35 -0400

Thanks a lot, guys. FYI, Michael got it. I changed the slash and bingo.

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Michael Blasnik
Sent: Tuesday, June 06, 2006 1:01 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Re: loop over file names

No -- the quotes won't help here.

Michael Blasnik
michael.blasnik@verizon.net

----- Original Message ----- 
From: "Mary Alexinskaya" <alexinskaya@yahoo.com>
To: <statalist@hsphsun2.harvard.edu>; <michael.blasnik@verizon.net>; 
<zhaowl@temple.edu>
Sent: Tuesday, June 06, 2006 12:51 PM
Subject: Re: st: Re: loop over file names


> Or, just add quotation marks:
>
> using "c:\`i'.txt"
>
> Best!
> Maria
>
> Michael Blasnik <michael.blasnik@verizon.net> wrote: You're close.  You 
> need to use / in file paths, not \ because \ is a signal
> to not expand the following macro.  Just change the slashes in both the
> insheet and save commands and you're on the right track.
>
> Michael Blasnik
> michael.blasnik@verizon.net

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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