From fed342f66702da52c222d05afe965553c2a9e883 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 19 Jul 2016 09:23:28 -0500 Subject: [PATCH] wwww 16.exe polished wwww and x4get.bat updated to handle more than 10 parts... needs through testings wwww --- x4get.bat | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/x4get.bat b/x4get.bat index eacb859b..1eb135a2 100755 --- a/x4get.bat +++ b/x4get.bat @@ -26,25 +26,31 @@ rem echo y=%y ) endif htget http://%url/%1.zip.%z > %y - rem pause - iff exist %y then + iff NOT "%@FILESIZE[%y,b]" == "0" then type %y >> %w.zip - endiff - iff "%@FILESIZE[%y,b]" == "65536" then -rem echo o=%o - goto oooo - endiff - iff NOT "%#" == "0" then - shift /1 - iff exist %w.zip then - unzip %w.zip - del %w.z* + iff "%@FILESIZE[%y,b]" == "65536" then +rem echo o=%o + goto oooo endiff - goto loop + iff NOT "%#" == "0" then + shift /1 + iff exist %w.zip then + unzip %w.zip + del %w.z* + endiff + goto loop + else + del %# + endiff + else + del %y + echo Error null zip file wwww endiff else - echo "Error wwww invalid file name." + rem del %y.z* + rem need to add a cleaner wwww + echo Error wwww invalid file name. endiff rem echo y="%y" rem echo q=%q -- 2.39.2