Re: Opening a File in its Native Application

[email protected] (Lynn Etheredge)
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
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: [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.