home *** CD-ROM | disk | FTP | other *** search
/ Gambler 34 A / GAMBLERCD34A.BIN / Utils / GP / Progs / MRipper / UTILS / XENTVIEW.ZIP / VIEW.BAT < prev    next >
DOS Batch File  |  1995-11-12  |  511b  |  32 lines

  1. @echo off
  2. if not "%@eval[2+2]" == "4" goto end
  3.  
  4. setlocal
  5. iff %1x == x then
  6.     set fil=*.usr
  7. else
  8.     set fil=%1
  9. endiff
  10. set x=%@findfirst[%fil]
  11. do while "%x" != ""
  12.  
  13.    ren /q %x temp.$$$
  14.    ren /q install.gph %x
  15.    ren /q temp.$$$ install.gph
  16.    install
  17.    ren /q %x temp.$$$
  18.    ren /q install.gph %x
  19.    ren /q temp.$$$ install.gph
  20.    set x=%@findnext[%fil]
  21.    set k=0
  22.    inkey /W0 %%k
  23.    iff %k != 0 then
  24.        unset /q x
  25.    endiff
  26.  
  27. enddo
  28. endlocal
  29. quit
  30. :end
  31. echo 4DOS required!
  32.