home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
netdor2.zip
/
DISK_10
/
IMAGE9.ZIP
/
pmdraw.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-07-09
|
2KB
|
44 lines
/*****************************************************************************
* PMDRAW Front-End *
* CORE Development (CORE at WATSON) *
*****************************************************************************
* Licensed Materials-Property of IBM *
* 5604-472 (c) Copyright IBM Corporation, 1993 *
* All rights reserved. *
* US Government Users Restricted Rights - *
* Use, duplication or disclosure restricted *
* by GSA ADP Schedule Contract with IBM Corp. *
****************************************************************************/
/*---------------------------------------*/
/* Save the state of current environment */
/*---------------------------------------*/
call setlocal
/*-----------------------------------------------------*/
/* Register RxCouInfo function contained in COUENV.DLL */
/* so that it may be used in the exec */
/*-----------------------------------------------------*/
call RxFuncAdd 'RxCouInfo', 'COUENV', 'RxCouInfo'
/*---------------------------*/
/* Get Remote Directory Spec */
/*---------------------------*/
RemoteDir=RxCouInfo('GET', 'REMOTE')
if right(RemoteDir, 1)<>'\' then RemoteDir = RemoteDir'\'
/*--------------------------------------------------*/
/* Change to remote PMDRAW directory and run PMDRAW */
/*--------------------------------------------------*/
call directory RemoteDir'PMDRAW'
'@pmdraw.exe'
/*---------------------------------------------------------*/
/* The following code will be executed when the executable */
/* terminates.... */
/*---------------------------------------------------------*/
/*-------------------------------------------------*/
/* Restore state of original environment then exit */
/*-------------------------------------------------*/
call endlocal
exit