1. RE: calling a file that runs in a separate application

In DOS, Linux and Windows console:

-- 'start' runs any file on its associated app
    system( "start myfilename.pps", 2 )


In Windows using Win32Lib:

-- shellExecute() is similar to system() but
    -- doesn't open up a new console window
    shellExecute( "open", "myfilename.pps", SW_SHOWNORMAL )


Michelle Rogers wrote:
> 
> 
> posted by: Michelle Rogers <mrogers at ccs.bia.edu>
> 
> 
> I have found the "Call It" program.  But, apparently it only calls files 
> that end with an .exe extension.
> Does anyone know of a way to call a file that runs in a separate 
> application.
> 
> For example, I have a program that I use in my classroom.  At a specific 
> time (which is no problem, already have a timer installed)..
> I want my Euphoria program to run a power point show.  Can someone tell 
> me how to do this?  It is a file that ends with .pps , which I want it 
> to open in Microsoft Power Point (perhaps Microsoft Power Point Viewer)
> 
> Michelle Rogers

new topic     » topic index » view message » categorize

2. RE: calling a file that runs in a separate application

Greg Haberek wrote:
> 
> 
> In DOS, Linux and Windows console:
> 
> }}}
<eucode>
>     -- 'start' runs any file on its associated app
>     system( "start myfilename.pps", 2 )
> </eucode>
{{{


I don't believe that Linux recognizes 'start'.
Of course, you can just make euphoria source executable.

Irv

new topic     » goto parent     » topic index » view message » categorize

3. RE: calling a file that runs in a separate application

Unkmar wrote:
> >
> > posted by: Michelle Rogers <mrogers at ccs.bia.edu>
> >
> >
> > I have found the "Call It" program.  But, apparently it only calls files
> that end with an .exe extension.
> > Does anyone know of a way to call a file that runs in a separate
> application.
> >
> > For example, I have a program that I use in my classroom.  At a specific
> time (which is no problem, already have a timer installed)..
> > I want my Euphoria program to run a power point show.  Can someone tell 
> > me
> how to do this?  It is a file that ends with .pps , which I want it to 
> open
> in Microsoft Power Point (perhaps Microsoft Power Point Viewer)
> >
> > Michelle Rogers
> 
> 
> Do not take this as a recommendation.
> Just as a note of completion about the subject.
> You can't launch execute data files from the command prompt.
> Such as: .txt .html or .pps

FYI: 
I can... as long as there is a file association, XP will open the file 
with the associated program.  "start" is optional from the cmd prompt in 
XP.

-- Brian

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu