$start = time; system($xcopyString); $ende = time; printf "Test " . ($j + 1) . " - execution time: %d in seconds\n", $ende - $start;