home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
F
/
FT-REMPP.ZIP
/
REMARJ.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-05-21
|
1KB
|
45 lines
@echo off
cls
echo ■ REM++ 0.01 batch file started (ARJ version)
echo
set REM_IT_TEMP=
if .%3==. goto novar
set REM_IT_TEMP=!%3
:novar
echo ■ Creating temporary directory
md rem_it
echo ■ Unzipping file to temporary directory
arj e -y %1 rem_it >nul
if errorlevel 1 goto errorinarj
echo ■ Running REMOVEIT executable
removeit %2 del_list.lst rem_it
echo
rem ---------- EXTRA! EXTRA! REMLINE IMPLEMENTATION AHEAD ---------------
echo ■ Deleting extra lines from FILE_ID.DIZ
remline .\rem_it\file_id.diz phrases.lst
arj %1 \rem_it\file_id.diz >nul
echo
rem --- NOTE ! Change phrases.lst above to you phrase file filename --
echo ■ Deleting extraced files
echo y | del .\rem_it\*.* >nul
echo
echo ■ Removing temporary directory
rd rem_it
echo ■ Deleting ARJ file comment
pkzip -zNUL %1 >nul
echo ■ Deleting AD files from original ARJ
arj d %1 !del_list.lst %REM_IT_TEMP% >nul
echo ■ Deleting AD list file
del del_list.lst >nul
goto end
:errorinarj
echo
echo ! Error opening ARJ file. Aborting process.
:end
echo
echo ■ Process completed.