i see the issue,
but
a:
It clearly states that these a experimental only.
b:
Actually i would only need this for decompression.
its the decompression that i'm using a multithreadet batch for
the reason i need to delete the files is so that my batch file can see the file is gone and the decompression is finished, and then it can start the next level of decompression/filtering on all the files.
this is my extract.bat file
Code:
@ECHO OFF
set wait=ping 127.255.255.255 -w 255
REM ----- HANDLING .RZM FILES -----
ECHO rzm.exe d %%1 %%1.tmp > DcmpTMP.bat
ECHO del %%1 >> DcmpTMP.bat
ECHO exit >> DcmpTMP.bat
for %%f in (*.rzm) do start DcmpTMP.bat "%%f"
:checkrzm
%wait% > nul
if exist *.rzm goto checkrzm
ren *.tmp *.
ren *.rzm *.
del rzm.exe
REM ----- HANDLING .REP FILES -----
ECHO rep.exe -d %%1 %%1.tmp > DcmpTMP.bat
ECHO del %%1 >> DcmpTMP.bat
ECHO exit >> DcmpTMP.bat
for %%f in (*.rep) do start DcmpTMP.bat "%%f"
:checkrep
%wait% > nul
if exist *.rep goto checkrep
ren *.tmp *.
ren *.rep *.
del rep.exe
REM ----- HANDLING DELTA FILES -----
ECHO delta.exe -d %%1 %%1.tmp > DcmpTMP.bat
ECHO del %%1 >> DcmpTMP.bat
ECHO exit >> DcmpTMP.bat
for %%f in (*.del) do start DcmpTMP.bat "%%f"
:checkdelta
%wait% > nul
if exist *.del goto checkdelta
ren *.tmp *.
ren *.del *.
del delta.exe
REM ----- HANDLING .PCF FILES -----
for %%f in (*.pcf) do Precomp.exe -r %%f
del precomp.exe
del zlib1.dll
del packJPG.dll
REM ----- HANDLING ECM FILES -----
ECHO unecm.exe %%1 > DcmpTMP.bat
ECHO del %%1 >> DcmpTMP.bat
ECHO exit >> DcmpTMP.bat
for %%f in (*.ecm) do start DcmpTMP.bat "%%f"
:checkecm
%wait% > nul
if exist *.ecm goto checkecm
del unecm.exe
key.txt
del DcmpTMP.bat
del %0
if i didn't need to delete the file by another command line i would not need to make all these sub batches rutines