Windows 98 needs the file spec to be enclosed by quotes - it doesn't like white space.
So "\42C:/Program Files/Microsoft Office/Office/WINWORD.EXE\42" ....where \42 = " Works with 98 and 2K. T -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jon sof Sent: 11 September 2003 16:10 To: [EMAIL PROTECTED] Subject: Another Dos question! 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}"); Although it works great under Win2000 system, when i run it on a win98 system it doesn't work. Has anyone faced a similar problem? _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
