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

st: RE: re: Running Stat/Transfer from Stata Command ?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: re: Running Stat/Transfer from Stata Command ?
Date   Sun, 29 Feb 2004 17:02:46 -0000

. findit stat-transfer 

points to Roger Newson's -stcmd- on SSC. 

Nick 
n.j.cox@durham.ac.uk 

Ian Watson
 
> Ha Thai Son <hathaison@hn.vnn.vn> asked:
> 
> HTS> I'm using Stata 8 and Stat/Stransfer 6. Any one help me to run
> HTS> Stat/Stransfer from Stata Command to transfer, for exp. 
> I want to transfer
> HTS> C:\Data\data.xls to C:\Data\data.dta.
> 
> Try the following steps (under a Windows platform).
> 
> 1. create a textfile called data.stc with the following lines:
> 
> copy data.xls data.dta /y /o
> exit
> 
> (Note that the /y replaces without asking, in case you need to run it
> several times and the /o optimises the storage. Also leave out exit if
> you want to watch to see what happens, then manually manually close
> the window.)
> 
> 
> 2. from inside Stata run the following command:
> 
> 
> winexec "c:\program files\stattransfer5\st" c:\data\data.stc
> 
> (Set your path to stat transfer as appropriate).

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index