home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
perlref.zip
/
MAKEICON.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-08-07
|
1KB
|
36 lines
/* $Id: MAKEICON.CMD, v 0010 Wed Aug 7 10:32:37 1996 TullyS $ */
/*********************************************************************/
/* */
/* */
/*********************************************************************/
Trace 'O'
Address CMD
'@ECHO OFF'
/*********************************************************************/
/* Initialization */
/*********************************************************************/
Call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
Call sysloadfuncs
exename = "VIEW.EXE"
perlref = "PERLREF.INF"
instpath = DIRECTORY();
rc = SysFileTree(instpath||'\'perlref, 'find', 'F')
If find.0 <> 0 then do
Call SysCreateObject 'WPProgram',exename,'<WP_DESKTOP>','OBJECTID=<PERLREF_VIEW>;EXENAME='exename';PROGTYPE=PM;PARAMETERS='perlref';STARTUPDIR='instpath,'R'
End
Else do
Say "The Drive:\Path is incorrect."
End
/*********************************************************************/
/* Exit Program */
/*********************************************************************/
Endit:
Exit 0