my @args = ('-v','-A',$ip,">","C:\\log\\$ip.log"); system('nmap',@args);