I have a zz_done.txt - a list of files, uin the attached 7z file
The included BTM is not processing the first file listed. I do not if I need to use fixnames plugin or is I need to modify the SETDOS ? any suggstions please?
Thanks all..........
The included BTM is not processing the first file listed. I do not if I need to use fixnames plugin or is I need to modify the SETDOS ? any suggstions please?
Code:
SETLOCAL
setdos /x-1256789A
for %fn in (@ZZ_Done.txt) gosub Dofile
setdos /x+1256789A
ENDLOCAL
QUIT
:Dofile
echo On: %fn
set nLoop=1
do until not isfile "%fn"
iff not isfile "c:\ZZ_DoneSorted\%@upper[%@ext[%fn]]_%@format[04,%nLoop]\%@filename[%fn]" then
move /md /r "%fn" "c:\ZZ_DoneSorted\%@upper[%@ext[%fn]]_%@format[04,%nLoop]\"
else
set /a nLoop=nLoop+1
endiff
enddo
return
Thanks all..........