my $testfile = "fromdos"; my $test = "/C ${testfile} test.txt"; system ("cmd", $test);