An installation batch file written in the REXX language performs the same operations but uses the following REXX-language utility functions:
REXX Functions
An example of an installation batch file written using the REXX-language utility methods is shown in the following sample code:
/* Register a Workplace Shell class and create an instance */ /* Load the REXX utility functions */ call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs' call SysLoadFuncs /* Register the class with the Workplace Shell */ if SysRegisterObjectClass("NewObjectClass", "NEWDLL") then say 'Class Registration successfully completed for the NewObject' /* Create an instance of the object */ if SysCreateObject("NewObjectClass", "A New Object", "<WP_Desktop>", "OBJECTID=<A New Object>") then say 'A New Object successfully created and placed on Desktop'