home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
secure.zip
/
SAMPLE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-08-06
|
2KB
|
40 lines
/* ----------------------------------------------------------
** 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 = 'SWSFolder'
Setup = 'OBJECTID=<SWP_SECUREFOLDER>;'
Title = 'Secure Folder^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
/* ---------------------------------------------------------
** Create a Restricted Folder on the Desktop
** --------------------------------------------------------*/
ClassName = 'SWRFolder'
Setup = 'OBJECTID=<SWP_RESTRICTFOLDER>;'
Title = 'Restricted Folder^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
/* ---------------------------------------------------------
** Create a Secure Program on the Deskop
** --------------------------------------------------------*/
ClassName = 'SWSProgram'
Setup = 'OBJECTID=<SWP_SECUREPROGRAM>;EXENAME=*;PROGTYPE=WINDOWABLEVIO;'
Title = 'Secure Program^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
exit