@ECHO off :main break > build/saida.txt for %%g in (test/*) do ( "build/solucao.exe" < test/%%g >> build/saida.txt ) :end echo Fim