home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
hischgct.zip
/
chg_ctls.cmd
next >
Wrap
OS/2 REXX Batch file
|
1996-01-03
|
3KB
|
66 lines
@cls
@if %2. == REBUILD. rc -r ctls.rc
@if %1. == SKIP. goto skip else goto start
:start
@echo ╓────────────────────────────────────────────────────────────────────────────╖
@echo ║ Changing Default OS/2 PM Controls Release #2 ║
@echo ║ Written 11-18-95 by Matt Schellhaas (Last Modified 12-6-95) ║
@echo ║ This batch file uses RESMGR which was written by Martin Lafaix ║
@echo ╙────────────────────────────────────────────────────────────────────────────╜
@echo This may be freely distributed, but please do not distribute modified copies
@echo * *
@echo While I don't see any reason why this could cause trouble, I take no
@echo responsibility for any adverse side effects.
@echo Use this at your own risk.
@echo ═════════════════════════════════════════════════════════════════════════════╗
@echo Make sure rc.exe is in your /os2 directory, or this will not work. ║
@echo Also, make sure you make a backup copy of your original pmmerge.dll file ║
@echo This should be run in its' own directory (do not run in directory called TEMP║
@echo or TMP) ║
@echo ═════════════════════════════════════════════════════════════════════════════╝
@echo To abort, press CTRL-C
@pause
@cls
@echo This might take a while...
:skip
@echo ══════════════════════════════════════════════════════════════
@if not exist pmmerge.dll goto error
@echo Making backup copy of pmmerge.dll called pmmerge.old
@copy pmmerge.dll pmmerge.old
@echo Hit CTRL-C a few times to abort
@echo ....
@echo .... [Writing new Resources]
@call resmgr -a pmmerge.dll ctls.res > chg_ctls.log
@echo ....
@echo **************************************************************
@echo Operation Seemed to be successful. [operation logged to chg_ctls.log]
@echo **************************************************************
@if %1. == SKIP. goto end
@echo Now,
@echo 1. shutdown
@echo 2. reboot
@echo 3. When █████OS/2 shows up on the top left of your screen,
@echo Hit ALT-F1
@echo 4. choose C for command line
@echo 5. when at command line copy pmmerge.dll from current directory to
@echo /os2/dll
@echo 6. reboot
@echo You should now see the new updated controls!
@echo If you want to change the controls I have used, follow the instructions
@echo in the file readme.1st
@echo ══════════════════════════════════════════════════════════════════════════════
@echo If you really like what i have done here, I WILL ACCEPT DONATIONS :),e-mail me
@echo for my address... (All donations will go towards me finishing my CS degree)
@echo ══════════════════════════════════════════════════════════════════════════════
@pause
@goto end
:error
@echo ╔═════════════════════════════════════════════════════════════════╗
@echo ║Cannot find pmmerge.dll!!!!! ║
@echo ║Please copy pmmerge.dll from /os2/dll into the current directory ║
@echo ║and try again ║
@echo ╚═════════════════════════════════════════════════════════════════╝
@pause
:end