home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
com
/
bbs
/
offtag10
/
downmult.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-07-17
|
846b
|
27 lines
/* generates the dl%P.bbs */
arg prot com node filelist
logoff=0
if prot="L" then do
logoff=1
prot="Z"
end
dlbbs="dl"node".bbs"
"@del "dlbbs
rc=lineout(dlbbs,"") /*[moreoff] */
rc=lineout(dlbbs,"P"prot) /*[key_poke]prot */
rc=lineout(dlbbs,"rj") /*[chg_protocoll]*/
line=linein(filelist)
do while line<>""
fname=word(line,1)
rc=lineout(dlbbs,"J"fname"%") /*[download]filename%*/
line=linein(filelist)
end
rc=lineout(filelist)
if logoff=1 then rc=lineout(dlbbs,"P/G") /*[key_poke]/G */
rc=lineout(dlbbs,"P|") /*[key_poke]| */
rc=lineout(dlbbs,"r∙") /*[menu_cmd download]*/
rc=lineout(dlbbs,"") /*[enter] */
rc=lineout(dlbbs)
exit