From: sparky4 Date: Tue, 19 Jul 2016 14:03:45 +0000 (-0500) Subject: wwww 16.exe polished wwww and x4get.bat updated to handle more than 10 parts... needs... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=2100c2bd35c44e4d097f3243a6b56c4535568edb;p=16.git wwww 16.exe polished wwww and x4get.bat updated to handle more than 10 parts... needs through testingls -lat wwww --- diff --git a/x4get.bat b/x4get.bat index 5ad2dd3d..eacb859b 100755 --- a/x4get.bat +++ b/x4get.bat @@ -17,15 +17,15 @@ rem for %# in (1,1,%*) do ( rem echo y=%y if %o lt 100 ( if %o lt 10 ( - set q=00%o + set z=00%o ) else ( - set q=0%o + set z=0%o ) endif ) else if %o gt 99 ( - set q=%o + set z=%o ) endif - htget http://%url/%1.zip.%q > %y + htget http://%url/%1.zip.%z > %y rem pause iff exist %y then @@ -43,6 +43,8 @@ rem echo o=%o endiff goto loop endiff + else + echo "Error wwww invalid file name." endiff rem echo y="%y" rem echo q=%q