home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
vdms_110.zip
/
RUNDOS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-01-11
|
2KB
|
32 lines
/*-------------------------------------------------------------------------*
* RUNDOS.CMD *
* *
* Rexx procedure to execute a DOS program via the server program VDMSERVE.*
* VDMSERVE must first be running before DOSCMD can be run. *
* *
* Special notes: most of the process running the BBS execute as detached *
* processes. Under OS/2, it is not possible to detach a DOS process. *
* DOSCMD removes this limitation by executing the DOS program from an *
* OS/2 server program. *
* *
* Special commands interpreted by the Server: *
* DOSCMD exit : tells server process to terminate *
* DOSCMD refreshlog : tells server to close server log, rename it *
* to *.bak, and open a new log. *
* *
*-------------------------------------------------------------------------*/
echo off
cls
/*
* The following line is used in testing:
*
* doscmd '"c:\bin\msdos\misc\arj a vdm *.c *.lib *.h"' '/logfile=c:\usr\proj\vdm\doscmd.log' arg(1) arg(2) arg(3) arg(4) arg(5)
*/
doscmd arg(1) arg(2) arg(3) arg(4) arg(5) arg(6) '/logfile=c:\bbs\logs\doscmd.log'
exit