home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
uptruety.zip
/
UPTRUETY.CMD
Wrap
OS/2 REXX Batch file
|
2000-10-16
|
658b
|
29 lines
/*update ini for TRUETYPE*/
call rxfuncadd 'sysloadfuncs', 'rexxutil', 'sysloadfuncs'
call sysloadfuncs
rc = sysini('USER', 'PM_Font_Drivers', 'All:', 'trtype')
flag=0
if rc='' then
do
do i = 1 to trtype.0
if trtype.i='TRUETYPE' then
flag=1
end
if flag=0 then
do
rc = sysini('USER', 'PM_Font_Drivers',"TRUETYPE" ,"\OS2\DLL\TRUETYPE.DLL")
if rc='' then
say 'updated INI file'
else
say 'Unable to update INI file'
end
else
say 'Entry already present in INI file'
end /* no error opening INI file */
else
say 'Could not open the INI file'
exit