@echo off if "%1"=="" goto loop copy knapsack%1.in knapsack.in >nul echo Problem Test echo Data %1 time