Statalist The Stata Listserver


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

Re: st: Re: loop over file names


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   Re: st: Re: loop over file names
Date   Tue, 06 Jun 2006 13:00:36 -0400

No -- the quotes won't help here.

Michael Blasnik
[email protected]

----- Original Message ----- From: "Mary Alexinskaya" <[email protected]>
To: <[email protected]>; <[email protected]>; <[email protected]>
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 <[email protected]> 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
[email protected]
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index