At 19:51 26/01/2005, Malgosia Madajewicz wrote:
Hi all,
In my do files, I use quotation marks around the directory in which the 
log and data files reside, because my folder names consist of more than 
one word. I write the do file in MS Word (2003) and save it as a plain 
text file. I have the following problem. Stata 7 does not recognize the 
quotation marks. It puts a question mark in their place and then gives 
the error message that the second word in a mutilple-word folder name is 
invalid. Does anyone know how to solve this problem?
For a while my solution was to use MS DOS encoding, but as of today this 
does not solve the problem any more for some reason.
As a Microsoft Word 2000 user (strictly for reasons of compatability with 
other Microsoft Word 2000 users), I cannot comment on what Microsoft Word 
2003 might or might not do to quotation marks. However, if Malgosia 
Madajewicz is having problems as a result of this, then that might be a 
good reason for using a tool other than Microsoft Word to write Stata 
do-files. The Stata do-file editor is a possible basic option, and should 
be available with Stata 7. However, for the longer run, even better 
editors (mostly either cheap or free) are available from other sources, 
who make editors as a speciality. To find more about these, refer to Web 
page "Some notes on text editors for Stata users" at
http://fmwww.bc.edu/repec/bocode/t/textEditors.html
I hope this helps.
Roger
--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
  or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/
Opinions expressed are those of the author, not the institution.
*
*   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/
Assistant Professor of Economics and International Affairs