home *** CD-ROM | disk | FTP | other *** search
- /*********************************************************************/
- /* 06/14/95 Create GammaTech IRC Program Object on Desktop */
- /* */
- /* Copyright (C) GammaTech Inc. 1995 All Rights Reserved. */
- /*********************************************************************/
-
- Trace 'O'
- Address CMD
- '@ECHO OFF'
-
- /*********************************************************************/
- /* Initialization */
- /*********************************************************************/
- Call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
- Call sysloadfuncs
- exename = "GTIRC"
-
- /*********************************************************************/
- /* Get the installation drive and path */
- /*********************************************************************/
- Say "Please enter the drive and path of the IRC directory."
- Say "Example C:\GTIRC"
- Parse Upper Pull instpath
-
- rc = SysFileTree(instpath||'\'exename'.*', 'find', 'F')
- If find.0 <> 0 then do
- Call SysCreateObject 'WPProgram',exename,'<WP_DESKTOP>','OBJECTID=<GT_'exename'>;EXENAME='instpath'\'exename'.EXE;PROGTYPE=PM;STARTUPDIR='instpath,'R'
- End
-
- Else do
- Say "The Drive:\Path is incorrect."
- End
-
- /*********************************************************************/
- /* Exit Program */
- /*********************************************************************/
- Endit:
- Exit 0
-