Running an embedded file (EXE) from the compiled file

Create Presentations, E-Books or CD Autorun from HTML pages in one click.
Post Reply
steph78630
Posts: 8
Joined: Tue Oct 09, 2018 12:53 pm

Running an embedded file (EXE) from the compiled file

Post by steph78630 »

Hi,

I created a script in HTA (HTML + VBScript) to which I integrated additional files (.EXE).

I renamed the HTA file to HTML so it would be recognized by SiteInFile compiler v. 4.3.0.0 (purchased version).

I need to run one of the embedded files (.EXE) from the VBS part of the compiled file and I can't find the path to the embedded files.

For eg. : CreateObject("Wscript.Shell").Run("compiled_file_path/my_embedded_file.exe")

Thank you for your help,
Steph
support
Site Admin
Posts: 476
Joined: Fri Feb 13, 2004 1:05 pm

Re: Running an embedded file (EXE) from the compiled file

Post by support »

Windows scripting host could not access the embedded files because the available only via HTTP protocol.
Try to use CreateObject("Shell.Application") instead.
steph78630
Posts: 8
Joined: Tue Oct 09, 2018 12:53 pm

Re: Running an embedded file (EXE) from the compiled file

Post by steph78630 »

Hi,

Thank you, I will test your solution and come back.

Kinds regards, Stephane
Post Reply