home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
APPS
/
UTILS
/
P-Z
/
PSTRY105
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-12-18
|
947b
|
23 lines
/* rexx cmd file to install the Pastry Box on the deskop */
/* files are installed on the boot drive under \OS2\APPS */
call rxfuncadd 'sysloadfuncs', 'rexxutil', 'sysloadfuncs'
call sysloadfuncs /* register system functions */
address cmd '@echo off' /* echo is turned off */
SysBootDrive=Filespec('Drive',Value('SYSTEM_INI',,'OS2ENVIRONMENT'));
'COPY PASTRY.EXE '|| SysBootDrive||'\OS2\APPS'
'COPY PASTRY.ICO '|| SysBootDrive||'\OS2\APPS'
'COPY PASTRY.INI '|| SysBootDrive||'\OS2\APPS'
Settings = 'EXENAME='SysBootDrive||'\OS2\APPS\PASTRY.EXE;'
Settings = Settings||'PROGTYPE=PM;MINIMIZED=NO;'
Settings = Settings||'ICONFILE='SysBootDrive||'\OS2\APPS\PASTRY.ICO;'
Settings = Settings||'CCVIEW=YES;'
Settings = Settings||'STARTUPDIR='||SysBootDrive||'\OS2\APPS;'
rc=SysCreateObject('WPProgram','Pastry Box','<WP_DESKTOP>',Settings,'R');
if rc = 1 then Say "Pastry Box installed on desktop"
Exit