[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: windows installer - vbs vs bat startup script

From: JohnD
Subject: RE: windows installer - vbs vs bat startup script
Date: Thu, 27 Aug 2020 22:14:12 -0400

> -----Original Message-----
> From: John W. Eaton [mailto:jwe@octave.org]
> Sent: Thursday, August 27, 2020 11:49 AM
> To: Nicholas Jankowski; JohnD
> Cc: octave-maintainers
> Subject: Re: windows installer - vbs vs bat startup script
> On 8/27/20 11:44 AM, Nicholas Jankowski wrote:
> >     I wonder if the issue is trying to run the .vbs script, or trying to
> >     run a program as hidden from another program ?____
> >
> >     __ __
> >
> >     If it just the general act of running a .vbs script , we could just
> >     a small program using activex and call almost the same commands
> >     from within it.
> >
> >
> > if the issue with vbs files is the various, potentially conflicting,
> > non-standard security protocols,  is activex any better? I wasn't aware
> > it was supported outside of a browser environment.
> Does it need to be a script or could the same job be done with a
> separate .exe program file that sets up the environment appropriately
> and then execs the real Octave binary?
> jwe

Heres a launcher exe code that looks like will work. See comments in file for 

It probally needs a little more work to ensure things don’t buffer run, and 
doesn’t do much error checking

It assumes its in the same directory as the octave executable and works out the 
paths from that.

Its pretty close to what is being done in the.vbs scrip, but in a different 
order for parts

Attachment: octave-launch.c
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]