X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=inline;f=x4get.bat;fp=x4get.bat;h=74103ffa154cd5347f45d5d68b6f21c61efcad90;hb=47cdc66151d973d975d0e31fb8a786eb639bebdb;hp=0000000000000000000000000000000000000000;hpb=4b23f27092a9470a741e3a18261ad389fd1929db;p=16.git diff --git a/x4get.bat b/x4get.bat new file mode 100755 index 00000000..74103ffa --- /dev/null +++ b/x4get.bat @@ -0,0 +1,34 @@ +@echo off +del %* +setlocal +rem for %@eval[%#+1] in (%*) do ( +rem for %# in (1,1,%*) do ( +:loop + set /a o=0 +:oooo + set /a q=%@EVAL[%@LEN[%1] - 4] + set w=%@INSTR[0,%q,%1] + iff NOT "%w" == "" then + set /a o=%o+1 + set y=%w.z%o +rem echo y=%y + htget http://4ch.mooo.com/16/%1.zip.00%o > %y +rem pause + type %y >> %w.zip + iff "%@FILESIZE[%y,b]" == "65536" then +rem echo o=%o + goto oooo + endiff + iff NOT "%#" == "0" then + shift /1 + unzip %w.zip + del %w.z* + goto loop + endiff + endiff +rem echo y="%y" +rem echo q=%q +rem echo o=%o +rem echo w=%w +rem echo %%1=%1 +endlocal