home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / dfue / bbs / gmc-bbs-262 / scripts / pf.script < prev    next >
Encoding:
AmigaDOS Script File  |  1997-04-25  |  750 b   |  22 lines

  1. .key comment,path,fn0,fn1,fn2,fn3,fn4,fn5,fn6,fn7,fn8,fn9
  2. if not exists gmc-bbs:Temp
  3.    makedir gmc-bbs:Temp
  4. endif
  5. if not exists ram:PF.LHA
  6.    if exists gmc-bbs:temp/PF3.LHA
  7.       delete gmc-bbs:temp/PF3.LHA
  8.    endif
  9.    if exists gmc-bbs:temp/PF2.LHA
  10.       rename gmc-bbs:temp/PF2.LHA to gmc-bbs:temp/PF3.LHA
  11.    endif
  12.    if exists gmc-bbs:temp/PF1.LHA
  13.       rename gmc-bbs:temp/PF1.LHA to gmc-bbs:temp/PF2.LHA
  14.    endif
  15.    Failat 21
  16.    lha -P-5 -r -wRAM: -x a ram:PF.LHA <path> <fn0> <fn1> <fn2> <fn3> <fn4> <fn5> <fn6> <fn7> <fn8> <fn9>
  17.    lha a ram:PF.LHA gmc-bbs:bulletins_menu/sys-info.displayme gmc-bbs:bulletins_menu/dl-gmc.displayme
  18.    FileNote ram:PF.LHA "<comment>"
  19.    copy ram:PF.LHA to gmc-bbs:temp/PF1.LHA clone
  20.    delete ram:PF.LHA
  21. endif
  22.