home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
we025.zip
/
INSTALL.CMD
next >
Wrap
OS/2 REXX Batch file
|
1997-03-29
|
2KB
|
39 lines
/************************************************************************/
/* */
/* Program name: INSTALL.CMD -- Creates program object for WE.EXE */
/* Title: WarpEnhancer */
/* PM Utility to give some missing */
/* features to OS/2 users */
/* */
/* Version: pre-Release 0.17 */
/* Created: 11.02.96 */
/* Last Modified: 23.03.97 */
/* */
/* Author: Achim Hasenmueller */
/* */
/* Copyright 1996,97 by InnoTek Systemberatung. All rights reserved */
/* */
/************************************************************************/
SAY "***********************************************"
SAY "* CREATING PROGRAM OBJECT FOR WARP ENHANCER *"
SAY "***********************************************"
SAY
/* load rexxutil library function */
Call RxFuncAdd 'SysCreateObject', 'REXXUTIL', 'SysCreateObject'
/* query current path name (= path of Warp Enhancer files) */
PathName = Directory()
/* remove trailing backslash if directory is root directory */
If LENGTH(PathName) = 3 Then
PathName = DELSTR(PathName, 3)
/* create program object on desktop */
If SysCreateObject("WPProgram", "Warp Enhancer", "<WP_DESKTOP>",,
"EXENAME="PathName"\WE.EXE;STARTUPDIR="PathName"") Then
SAY "Program Object successfully created!"
Else SAY "ERROR CREATING PROGRAM OBJECT"
exit