system("$doscommand > $logfile");