home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
mpbeta-2.zip
/
fixini.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-07-12
|
867b
|
29 lines
/* REXX script to set the Installed flag in MAXFMPM.INI */
/* If you haven't read the docs, don't run this until you do. */
/* This file should only be used by previous MaxFile/PM users. */
'@echo off'
Say "MaxFile/PM FIXINI Installation Aid."
Say 'Copyright 1994 Craig Morrison, All Rights Reserved.'
Call RxFuncAdd 'SysIni', 'RexxUtil', 'SysIni'
Call RxFuncAdd 'SysFileTree', 'RexxUtil', 'SysFileTree'
Call SysFileTree 'MAXFMPM.INI', 'files', 'FO'
If files.0 \= 1 Then Do
Say
Say 'MAXFMPM.INI not found, or more than one found.'
Say 'FIXINI is aborting.'
Exit
End
Say 'Setting installed flag in 'files.1'.'
rc = SysIni(files.1, 'MaxFilePM', 'Installed', '1')
rc = SysIni(files.1, 'MaxFilePM', 'Installed')
If rc \= '1' Then Do
Say
Say 'Error setting installed flag in 'files.1'!'
End
Say 'All done!'