home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
autobk2.zip
/
BMLog.CMD
next >
Wrap
OS/2 REXX Batch file
|
1995-07-28
|
1KB
|
41 lines
/***************************************************/
/* REXX Procedure to display the current */
/* BackMaster Log File. */
/***************************************************/
'@ECHO OFF'
editor = 'EPM.EXE'
/***************************************************/
/* Initialize REXXUtil environment (if not present)*/
/***************************************************/
rxload = RxFuncQuery('SysLoadFuncs')
If rxload Then
Do
Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
Call sysloadfuncs
End
/***************************************************/
/* Locate the active BackMaster directory */
/***************************************************/
bmname = SysSearchPath('PATH', 'BACKMAST.EXE')
If bmname \= '' Then
Do
bmdrive = Filespec('D', bmname)
bmpath = Filespec('P', bmname)
bmpath = bmdrive||bmpath
/***************************************************/
/* Launch the Enhanced editor to view the log. */
/***************************************************/
'START /WIN' editor bmpath||'BACKMAST.LOG'
End
/*******************************************************/
/* If RexxUtil loaded, drop it before ending. */
/*******************************************************/
If rxload Then
Call SysDropFuncs
Exit