Re: Opening a File in its Native Application
  Home FAQ Contact Sign in
perl.beginners.cgi only
 
Advanced search
POPULAR GROUPS

more...

perl.beginners.cgi Profile…
 Up
Re: Opening a File in its Native Application         


Author: Lynn Etheredge
Date: Apr 25, 2008 10:09

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 pcug.org.au>
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 yahoo.com> 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.
Show full article (1.50Kb)
3 Comments
Re: Opening a File in its Native Application         


Author: Greg Jetter
Date: Apr 25, 2008 14:02

On Friday April 25 2008 9:09 am, Lynn Etheredge wrote:
> 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
>
>
>

Are you looking to embed your application inside the client side web page
or are you looking to launch the application on the server passing it
parameters such as a input file and then collecting whatever it outputs
(results) for display on the web page ?

very different techniques are involved , you may want to take a look at
AJAX /JavaScript to accomplish this or a combination of AJAX/JSON and Perl.

Your first step in requesting help should be to lay out just what your trying
to accomplish .
Show full article (1.15Kb)
no comments
Re: Opening a File in its Native Application         


Author: Owen
Date: Apr 25, 2008 15:21

> 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 pcug.org.au>
> 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 yahoo.com> wrote:
>
>> Hi, ...
Show full article (2.07Kb)
no comments
Re: Opening a File in its Native Application         


Author: Ken Foskey
Date: Apr 25, 2008 16:07

On Fri, 2008-04-25 at 10:09 -0700, Lynn Etheredge wrote:
> 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.

The start by extension is a feature of the DOS shell. You can start any
program that way.

start myprog filename

Ken
no comments