wwww
修訂 | 2100c2bd35c44e4d097f3243a6b56c4535568edb (tree) |
---|---|
時間 | 2016-07-19 23:03:45 |
作者 | sparky4 <sparky4@cock...> |
Commiter | sparky4 |
wwww 16.exe polished wwww and x4get.bat updated to handle more than 10 parts... needs through testingls -lat wwww
@@ -17,15 +17,15 @@ rem for %# in (1,1,%*) do ( | ||
17 | 17 | rem echo y=%y |
18 | 18 | if %o lt 100 ( |
19 | 19 | if %o lt 10 ( |
20 | - set q=00%o | |
20 | + set z=00%o | |
21 | 21 | ) else ( |
22 | - set q=0%o | |
22 | + set z=0%o | |
23 | 23 | ) endif |
24 | 24 | ) else if %o gt 99 ( |
25 | - set q=%o | |
25 | + set z=%o | |
26 | 26 | ) endif |
27 | 27 | |
28 | - htget http://%url/%1.zip.%q > %y | |
28 | + htget http://%url/%1.zip.%z > %y | |
29 | 29 | |
30 | 30 | rem pause |
31 | 31 | iff exist %y then |
@@ -43,6 +43,8 @@ rem echo o=%o | ||
43 | 43 | endiff |
44 | 44 | goto loop |
45 | 45 | endiff |
46 | + else | |
47 | + echo "Error wwww invalid file name." | |
46 | 48 | endiff |
47 | 49 | rem echo y="%y" |
48 | 50 | rem echo q=%q |