Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: file name problem with stata2mplus


From   Evelyn Ersanilli <[email protected]>
To   "[email protected]" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index