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/