From: "jon sof" <[EMAIL PROTECTED]>
> i have the following function call
>
> $filename_winword="C:/Program Files/Microsoft
> Office/Office/WINWORD.EXE";
>
> $result->{DOCUMENT_NAME}= the filename from the database.
>
> system ("start"," ",$filename_winword,"/n ",
> "docs/$result->{DOCUMENT_NAME}");
You really should read up on the the difference between
system("command params") and system("command", @params) in the docs.
Also a thing nice to notice is what system( 1, "command"...) means.
Anyway try:
system( 1, $filename_winword,"/n", "docs/$result->{DOCUMENT_NAME}");
Or you may try to install the latest Win32::FileOp and use
ShellExecute("docs/$result->{DOCUMENT_NAME}");
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs