[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Dos Window



Helen,

You might try inserting 'command.com /c ' at the beginning of your system
command.  For example to run a bat file named mybat.bat try:

    call system using 'command.com /c mybat.bat' #status-call_mybat

Hope this helps.

--Steve


------------------------------------------------------------------------------
>  Stephen C. Lorenz -- Systems Analyst | North Shore Community College      <
>  slorenz@nscc.mass.edu                | 1 Ferncroft Rd, Danvers, MA 01923  <
------------------------------------------------------------------------------

On Thu, 8 Oct 1998, Helen Moore wrote:

> In an SQR I am using the CALL System function. It runs an executable
> that downloads fonts to my printer every time the SQR runs.
>
> Is there any way that the SQR can close the DOS window when the DOS
> command has finished?
>
> This is my .bat file (that does not exit after it is done)
> The user has to close the window. The fonts do get downloaded.
>
> c:\temp\sqrfonts\fload.exe c:\temp\sqrfonts\dload.dat
> exit
>
>
>
>
> Helen
>
>
> Helen Moore
> Senior Programmer Analyst
> IT/IIS
> James Madison University
>
>