]> 4ch.mooo.com Git - 16.git/commitdiff
added dos getting system ^^
authorsparky4 <sparky4@cock.li>
Wed, 16 Mar 2016 00:44:21 +0000 (19:44 -0500)
committersparky4 <sparky4@cock.li>
Wed, 16 Mar 2016 00:44:21 +0000 (19:44 -0500)
x4get.bat

index ca2ef38bb65be390d2b7f252f1fc93fe3ee51bca..b96f76bc96d5082c335995621b42242a791318b0 100755 (executable)
--- a/x4get.bat
+++ b/x4get.bat
@@ -1,4 +1,4 @@
-@echo off\r
+rem @echo off\r
 setlocal\r
 rem for %@eval[%#+1] in (%*) do (\r
 rem for %# in (1,1,%*) do (\r
@@ -12,7 +12,8 @@ rem for %# in (1,1,%*) do (
        set y=%w.z%o\r
        echo y=%y\r
 rem    pause\r
-       htget http://4ch.mooo.com/16/%w.zip.00%o >> %w.zip\r
+       htget http://4ch.mooo.com/16/%w.zip.00%o >> %y\r
+       type %y >> %w.zip\r
        iff "%@FILESIZE[%y,b]" == "65536" then\r
 rem            echo o=%o\r
                goto oooo\r
@@ -20,6 +21,7 @@ rem           echo o=%o
        iff NOT "%#" == "0" then\r
                shift /1\r
                unzip %w.zip\r
+               del %w.z*\r
                goto loop\r
        endiff\r
        endiff\r