home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 27 Fixes20
/
27-Fixes20.zip
/
iaos2f.zip
/
SETDISP.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1992-08-12
|
2KB
|
25 lines
/* SETDISP.CMD - program to setup the ini for an old 16-bit display driver */
/* Initialize some variables. */
key.1 = 'CURRENTDRIVER'
key.2 = 'DEFAULTDRIVER'
key.3 = 'DISPLAY'
keydata.1 = 'DISPLAY'||'00'x
keydata.2 = 'DISPLAY'||'00'x
keydata.3 = 'DISPLAY'||'00'x
max = 3
/* First ensure that the REXXUTIL functions are registered. */
Call RxFuncAdd 'SysLoadFuncs','RexxUtil','SysLoadFuncs'
Call SysLoadFuncs
/* Update INI */
error = 4
Do i=1 to max
If 'ERROR:' = SysIni(,'PM_DISPLAYDRIVERS',key.i,keydata.i) Then Do
Say 'Error setting key "'key.i'".'
Exit error
End /* Do */
End /* do */