home *** CD-ROM | disk | FTP | other *** search
- /* ----------------------------------------------------------
- ** SAMPLE.CMD
- ** The Secure Workplace
- ** Sample Object Creation Program
- ** ---------------------------------------------------------*/
- '@echo off'
-
- /* ---------------------------------------------------------
- ** Load the REXX Utility functions
- ** --------------------------------------------------------*/
- call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
- call SysLoadFuncs
-
- /* ---------------------------------------------------------
- ** Create a Secure Folder on the Desktop
- ** --------------------------------------------------------*/
- ClassName = 'SecureFolder'
- Setup = 'OBJECTID=<SWP_SECUREFOLDER>;NOCOPY=YES;NOMOVE=YES;NOLINK=YES;NOSHADOW=YES;NORENAME=YES;'
- Title = 'Sample Secure Folder'
- Location = '<WP_DESKTOP>'
- result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
-
- /* ---------------------------------------------------------
- ** Create a Secure Program on the Deskop
- ** --------------------------------------------------------*/
- ClassName = 'SecurePgm'
- Setup = 'OBJECTID=<SWP_SECUREPROGRAM>;EXENAME=*;PROGTYPE=WINDOWABLEVIO;NOCOPY=YES;NOMOVE=YES;NOLINK=YES;NORENAME=YES;'
- Title = 'Sample Secure Program'
- Location = '<WP_DESKTOP>'
- result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
- exit
-