home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / chgct21a.zip / chg_ctls.cmd < prev    next >
OS/2 REXX Batch file  |  1996-01-19  |  3KB  |  66 lines

  1. @cls
  2. @if %2. == REBUILD. call rebuild.cmd
  3. @if %1. == SKIP. goto skip else goto start
  4. :start
  5. @echo ╓────────────────────────────────────────────────────────────────────────────╖
  6. @echo ║ Changing Default OS/2 PM Controls Release #2                               ║
  7. @echo ║ Written 11-18-95 by Matt Schellhaas (Last Modified 12-6-95)                ║
  8. @echo ║ This batch file uses RESMGR which was written by Martin Lafaix             ║
  9. @echo ╙────────────────────────────────────────────────────────────────────────────╜
  10. @echo  This may be freely distributed, but please do not distribute modified copies
  11. @echo  *                                                                           *
  12. @echo  While I don't see any reason why this could cause trouble, I take no
  13. @echo  responsibility for any adverse side effects.
  14. @echo  Use this at your own risk.
  15. @echo  ═════════════════════════════════════════════════════════════════════════════╗
  16. @echo  Make sure rc.exe is in your /os2 directory, or this will not work.           ║
  17. @echo  Also, make sure you make a backup copy of your original pmmerge.dll file     ║
  18. @echo  This should be run in its' own directory (do not run in directory called TEMP║
  19. @echo  or TMP)                                                                      ║
  20. @echo  ═════════════════════════════════════════════════════════════════════════════╝
  21. @echo  To abort, press CTRL-C
  22. @pause
  23. @cls
  24. @echo  This might take a while...
  25. :skip
  26. @echo  ══════════════════════════════════════════════════════════════
  27. @if not exist pmmerge.dll goto error
  28. @echo Making backup copy of pmmerge.dll called pmmerge.old
  29. @copy pmmerge.dll pmmerge.old
  30. @echo Hit CTRL-C a few times to abort
  31. @echo ....
  32. @echo .... [Writing new Resources]
  33. @call resmgr -a pmmerge.dll ctls.res    > chg_ctls.log
  34. @echo ....
  35. @echo **************************************************************
  36. @echo Operation Seemed to be successful. [operation logged to chg_ctls.log]
  37. @echo **************************************************************
  38. @if %1. == SKIP. goto end
  39. @echo Now,
  40. @echo 1. shutdown
  41. @echo 2. reboot
  42. @echo 3. When  █████OS/2 shows up on the top left of your screen,
  43. @echo      Hit ALT-F1
  44. @echo 4. choose C for command line
  45. @echo 5. when at command line copy pmmerge.dll from current directory to
  46. @echo      /os2/dll
  47. @echo 6. reboot
  48. @echo You should now see the new updated controls!
  49. @echo If you want to change the controls I have used, follow the instructions
  50. @echo in the file readme.1st
  51. @echo ══════════════════════════════════════════════════════════════════════════════
  52. @echo If you really like what i have done here, I WILL ACCEPT DONATIONS :),e-mail me
  53. @echo for my address...  (All donations will go towards me finishing my CS degree)
  54. @echo ══════════════════════════════════════════════════════════════════════════════
  55. @pause
  56. @goto end
  57. :error
  58. @echo ╔═════════════════════════════════════════════════════════════════╗
  59. @echo ║Cannot find pmmerge.dll!!!!!                                     ║
  60. @echo ║Please copy pmmerge.dll from /os2/dll into the current directory ║
  61. @echo ║and try again                                                    ║
  62. @echo ╚═════════════════════════════════════════════════════════════════╝
  63. @pause
  64. :end
  65.  
  66.