home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / PRIVF.ZIP / ADD.CMD next >
OS/2 REXX Batch file  |  1992-11-10  |  605b  |  27 lines

  1. /*  */
  2. Call RxFuncadd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  3. Call SysLoadFuncs
  4.  
  5.  
  6. 'copy privf.dll c:\os2\dll'
  7.  
  8. /* if rc then do */
  9. /*   say 'Error DLL could not be updated please re-boot' */
  10. /*   say rc*/
  11.  
  12. /*   RetCode = SysDeregisterObjectClass( "PrivF");*/
  13. /*   'pause'*/
  14. /*   exit(1)*/
  15. /*   end */
  16.  
  17. RetCode = SysRegisterObjectClass( "PrivF", "privf")
  18. say RetCode
  19. if RetCode then
  20.    say 'PrivF Class registered'
  21. else do
  22.    say 'Error PrivFold Class failed to register'
  23. /*   Remove false entry */
  24. /*   RetCode = SysDeregisterObjectClass( "PrivF"); */
  25. /*   exit(1) */
  26.    end
  27.