Consultor Eletrônico



Kbase 33028: How to shutdown several Servers from a batch file in a Windows OS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Solution ID: P3028

GOAL:

How to shut down several Servers from a batch file

FACT(s) (Environment):

Windows

FIX:

The following example demonstrates how to shutdown several databases from a batch file.

stop.bat
CALL c:\dlc\bin\proshut DB1 -by
CALL c:\dlc\bin\proshut DB2 -by
CALL c:\dlc\bin\proshut DB3 -by

If you do not use the CALL statement in the batch file, the OS will not return to the caller batch. Thus CALL is recommended if you want to return to the batch just after the proshut is done.