Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: outreg has curious problem with filenames containg spaces


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Re: outreg has curious problem with filenames containg spaces
Date   Thu, 13 Jan 2005 10:18:19 -0800 (PST)

Daniel,

No need to change your operating system. You can specify the Stata
working directory with -cd- and then omit the path from the -outreg-
command.

. cd "C:\here and there\"
. outreg betas using file.txt, text replace
. outreg betas using file.txt, text append

Hope this helps,

Friedrich Huebler

--- Daniel Egan <[email protected]> wrote:
> I am using outreg, and came across what probably is a sign of its
> age
> - even using quotations around a filename I wish to -outreg- to, I
> return an error of
> -invalid ' and'-
> 
> what is strange is that it only occurs on the second call when
> appending to a file e.g.
> 
> -outreg betas using "C:\here and there\file.txt", text replace-
> 
> works fine, but 
> 
> -outreg betas using "C:\here and there\file.txt", text append-
> 
> returns the error message " invalid ' and'  "
> 
> any suggestions, aside from altering the folder I save to?



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

*
*   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