Thanks for all the information. I am running this on a NT server and
would like to just start getting it to work on my local workstation.
I tried this in my local cgi bin and cant get it to work yet it works when
I run it in DOS:
my $outlookmail = "c:/Program Files/Microsoft Office/Office/Outlook.ex
open (CMDLOG,"| $outlookmail") || die "failed to open: $!\n";
close CMDLOG || die "failed to close: $!\n";;
Like others in this thread I have to question what your goal is here, and you haven't stated it clearly. While the above code will start an Outlook client, I don't see the point of doing this from a CGI or any Perl script. That's what the start menu is for :).
Now, if your goal is to have your Perl script make Outlook actually do something besides show the GUI, you should look at Win32::OLE. Note that to make use of this module, you will have to understand the Outlook object model.