Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: file name problem with stata2mplus


From   Evelyn Ersanilli <evelyn.ersanilli@qeh.ox.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: file name problem with stata2mplus
Date   Mon, 20 Dec 2010 14:23:10 +0000

Dear Stata-listers

I've been experiencing some problems with converting a file from Stata to Mplus using the 'stata2mplus' command
The problem is that the command does not seem to accept spaces in the destination file/folder name.
The normal Stata strategy of using quotation marks doesn't seem to work
I've tried:

stata2mplus using  "C:\My Documents\Pilot 2" , replace
invalid 'Documents'
r(198);

stata2mplus using  (C:\My Documents\Pilot 2)
invalid 'C' 
r(198);

. stata2mplus using  ``C:\My Documents\Pilot 2" 
invalid '`' 
r(198);

. stata2mplus using  `C:\My Documents\Pilot 2"
invalid 'C' 
r(198);

. stata2mplus using  "C:\My Documents\Pilot 2" 
invalid 'Documents' 
r(198);

I've found a work-around by putting the file on a USB stick so that I can lose the 'My Documents' part, but I feel that there must be a better way.
Any suggestions?

Kind regards

Evelyn


Evelyn Ersanilli
Research Officer EUMAGINE project

International Migration Institute
Oxford Martin School
University of Oxford
3 Mansfield Road
OX1 3TB Oxford
United Kingdom
Tel:  +44 (0) 1865 271533

www.eumagine.org



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index