home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1994 February
/
psl_9403.zip
/
psl_9403
/
DOS
/
UT_SYSTM
/
CENVI2.ZIP
/
IDLEPROG.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-11-17
|
386b
|
12 lines
@echo off
REM IdleProg - Execute any program, but give it background priority
IF NOT "%1"=="" GOTO RUN_IDLE
ECHO IdleProg - Execute any command at background priority
ECHO EXAMPLE: IdleProg OS2TIME
:RUN_IDLE
REM 236 == ORD_DOS32SETPRIORITY
REM 1 == PRTYC_IDLETIME
CEnvi DynamicLink("doscalls",236,BIT32,CDECL,0,1,0,0); spawn(P_NOWAIT,`%1 %2 %3 %4 %5 %6 %7 %8 %9`);