Dear Statalisters,
I'm unable to successfully run a batch file in Windows XP following this
link: http://www.stata.com/support/faqs/win/batch.html.
This is frustrating because the batch file runs perfectly when I have a
Stata session open and run it from the command line.
First, I cd to the directory where Stata9 is installed: C:\Program
Files\Stata9\. Next I type wstata /e do c:\data\outstata7.do. I see
the Stata command window appear, vanish, and the Windows command line
appears indicating the batch is complete. However, the batch doesn't
execute.
I've tried cd'ing to where the batch file resides (C:\data) and have
typed:
"C:\Program Files\Stata9\" wstata /e do c:\data\outstata7.do. The
results are the same as the prior paragraph.
The above link requires the user to enter the command after clicking the
Start button and selecting "Run". This hasn't worked either because if
I enter the following in the text box: C:\Program Files\Stata9\wstata /e
do c:\data\outstata7.do Windows gives an error saying it can't find
C:\Program. If I leave off the install directory path, Windows gives an
error that it can't find wstata.
Any insight is greatly appreciated.
Cheers,
Paul
*
* 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/