From 2100c2bd35c44e4d097f3243a6b56c4535568edb Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 19 Jul 2016 09:03:45 -0500 Subject: [PATCH] wwww 16.exe polished wwww and x4get.bat updated to handle more than 10 parts... needs through testingls -lat wwww --- x4get.bat | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.39.5