my $outlookmail = "c:/Program Files/Microsoft Office/Office/Outlook.exe"; open (CMDLOG,"| $outlookmail") || die "$!"; close CMDLOG || die "$!";