echo off cls :set title 4Chan Batch Downloader :inicio set board=null set thread=null set argumentos=null :argumentos set s=0 set e=0 cls echo. set /p board="Board: " set /p thread="Thread: " set /p argumentos="Argumentos: " if "%board%"=="null" goto inicio if "%thread%"=="null" goto inicio if "%argumentos%"=="null" goto inicio :verificar_argumntos echo %argumentos%>argumentos.txt find /i "s" < argumentos.txt > $.txt if "%errorlevel%"=="0" set s=1 del $.txt find /i "e" < argumentos.txt > $.txt if "%errorlevel%"=="0" set e=1 del $.txt del argumentos.txt cls if "%s%"=="0" echo start wget -H --no-directories -D images.4chan.org -r -l 1 -U Mozilla -A jpeg,jpg,png,gif -nc --wait 3 --random-wait -P img\%board%-%thread% -e robots=off http://boards.4chan.org/%board%/res/%thread%>>Update.bat wget -H --no-directories -D images.4chan.org -r -l 1 -U Mozilla -A jpeg,jpg,png,gif -nc --wait 3 --random-wait -P img\%board%-%thread% -e robots=off http://boards.4chan.org/%board%/res/%thread% if "%e%"=="1" exit goto set ::4Chan Batch Downloader - ChangeLog v1.3 - 11/05/2012 : Retirado a variavel get : As outras variaveis foram adicionadas no link inicio : Removido o please enter : Adicionado o sisteminha de argumentos v1.2 - 30/04/2012 : Todo topico baixado, será adicionado no arquivo update.bat caso queira atualiza-lo. v1.1 - 29/04/2012 : Não é preciso mais copiar/deletar o wget.exe para a pasta onde será baixado as img : Removido as linhas para criar as pastas : Removido todos os cd v1.0 - 29/04/2012 : Finalizado as linhas mais importantes, com alguns ajustes.