home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
pwicq028.zip
/
versions.cmd
< prev
Wrap
OS/2 REXX Batch file
|
2000-02-08
|
677b
|
38 lines
/* */
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
'@echo off'
rc = SysFileTree('pw*.exe','file.','F')
if(rc = 0)
then ok = executa(file)
rc = SysFileTree('*.dll','file.','F')
if(rc = 0)
then ok = executa(file)
exit
executa:
do f = 1 to file.0
say '----------------------------------------------------------------------'
file.f = word(file.f,5)
say file.f
say
'bldlevel 'file.f' | rxqueue'
pos = 0
do while queued() > 0
pos = pos+1
l = linein('queue:')
if(pos > 3)
then say l
end
end
return 0