home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / F / FT-REMPP.ZIP / REMARJ.BAT < prev    next >
DOS Batch File  |  1994-05-21  |  1KB  |  45 lines

  1. @echo off
  2. cls
  3. echo ■ REM++ 0.01 batch file started (ARJ version)
  4. echo  
  5. set REM_IT_TEMP=
  6. if .%3==. goto novar
  7. set REM_IT_TEMP=!%3
  8. :novar
  9. echo ■ Creating temporary directory
  10. md rem_it
  11. echo ■ Unzipping file to temporary directory
  12. arj e -y %1 rem_it >nul
  13. if errorlevel 1 goto errorinarj
  14. echo ■ Running REMOVEIT executable
  15. removeit %2 del_list.lst rem_it
  16. echo  
  17.  
  18. rem ---------- EXTRA! EXTRA! REMLINE IMPLEMENTATION AHEAD ---------------
  19.  
  20. echo ■ Deleting extra lines from FILE_ID.DIZ
  21. remline .\rem_it\file_id.diz phrases.lst
  22. arj %1 \rem_it\file_id.diz >nul
  23. echo  
  24.  
  25. rem --- NOTE ! Change phrases.lst above to you phrase file filename --
  26.  
  27. echo ■ Deleting extraced files
  28. echo y | del .\rem_it\*.* >nul
  29. echo  
  30. echo ■ Removing temporary directory
  31. rd rem_it
  32. echo ■ Deleting ARJ file comment
  33. pkzip -zNUL %1 >nul
  34. echo ■ Deleting AD files from original ARJ
  35. arj d %1 !del_list.lst %REM_IT_TEMP% >nul
  36. echo ■ Deleting AD list file
  37. del del_list.lst >nul
  38. goto end
  39. :errorinarj
  40. echo  
  41. echo ! Error opening ARJ file. Aborting process.
  42. :end
  43. echo  
  44. echo ■ Process completed.
  45.