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