home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
dst.zip
/
DSTADD.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-10-02
|
845b
|
22 lines
/* Add Day Light Savings Icon to Startup Folder */
/* GW Barrowcliff */
/* Version 1.0 10/2/96 */
Version='Add Day Light Savings Icon to Startup Folder Version 1.0 10/2/96 GWB'
say Version
call RxFuncAdd 'SysLoadFuncs' , 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
title='Day Light^Savings Time'
location='<WP_START>'
objectid='<DayLight_Savings_Time>'
result=SysDestroyObject(objectid) /* Get rid of the old one */
Classname='WPProgram'
setup= 'OBJECTID='||objectid,
';EXENAME=C:\misc\DST.CMD',
';MINIMIZED=YES',
';PROGTYPE=WINDOWABLEVIO',
';ICONFILE=C:\MISC\DST.ICO;'
result=SysCreateObject(classname,title,location,setup,'R') /* 'F'ail, 'R'eplace, 'U'pdate, 'D'elete */
if result<>1 then Say "Icon not Created"