Hi, I would like to create a button on a web page that opens a file in it's application (ie. open a scientific file in it's native application). My file does not have an extension and so I think it probably will not open automatically with the system("start docname") command. Thank you, Lynn
----- Original Message ---- From: Owen <[EMAIL PROTECTED]> To: beginners-cgi@perl.org Sent: Wednesday, April 23, 2008 11:11:37 PM Subject: Re: Opening a File in its Native Application On Wed, 23 Apr 2008 17:34:25 -0700 (PDT) Lynn Etheredge <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to open a file in it's native application. It doesn't have a > specified extension, however, so I would need to specify the application > somehow. I saw > > system("start docname") > > but this doesn't specify the application. I am not sure what you really want to do. As this is a 'cgi' list I presume you want to open up a file so it can be read on the web And that file might be a MS "Word" document, in which case there may well be a perl module that reads Word documents So could you elaborate a little more perhaps? Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ