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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: DOS Shell -windows


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: DOS Shell -windows
Date   Wed, 7 Jul 2010 08:41:47 -0700 (PDT)

Thank you Neil. In my program I simply use the "!" :
!mlem.exe

Ricardo

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Wed, 7/7/10, Neil Shephard <nshephard@gmail.com> wrote:

> From: Neil Shephard <nshephard@gmail.com>
> Subject: Re: st: DOS Shell -windows
> To: statalist@hsphsun2.harvard.edu
> Date: Wednesday, July 7, 2010, 10:36 AM
> On Wed, Jul 7, 2010 at 3:29 PM,
> Ricardo Ovaldia <ovaldia@yahoo.com>
> wrote:
> > I have a "do" file that calls a DOS program, however I
> want the DOS window to close and the "do" program to
> continue without me having to type "exit" in DOS. Any ideas
> how I can do this?
> 
> Well you've not told us how you are currently doing this,
> but -man
> shell- (http://www.stata.com/help.cgi?shell)
> tells us that -shell-
> makes a system call and Stata will wait for the shell to
> close or the
> command to finish (I'll hazard a guess that this is what
> you're using
> as you say you are having to type 'exit' in your DOS
> prompt).
> 
> However, if you were to use -winexec- to start a command
> prompt (or
> any other program) then Stata will continue without waiting
> for the
> program to complete.
> 
> So try using -winexec- to call your command prompt/execute
> your DOS program.
> 
> Neil
> 
> -- 
> "... no scientific worker has a fixed level of significance
> at which
> from year to year, and in all circumstances, he rejects
> hypotheses; he
> rather gives his mind to each particular case in the light
> of his
> evidence and his ideas." - Sir Ronald A. Fisher (1956)
> 
> Email - nshephard@gmail.com
> Website - http://slack.ser.man.ac.uk/
> Photos - http://www.flickr.com/photos/slackline/
> *
> *   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/
> 


      

*
*   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