• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

run a .exe file from within CP4?

New Here ,
Oct 23, 2010 Oct 23, 2010

Copy link to clipboard

Copied

HI, I made this post some days ago but can't find it in "my stuff" so maybe it has gone to the IT gods in the sky.

How do I run an external .exe file from within my project.

I tried "run a url or file" without success, even tried "run another project" but again no luck.

I want to create a menu which will run .exe apps.

Any clues?

Thanks

Bill

TOPICS
Getting started

Views

645

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 25, 2010 Oct 25, 2010

Copy link to clipboard

Copied

Hi Bill,


It is potentially unsafe to run a .exe file directly from a browser.

But you can follow the following approach which will warn the user to either save /cancel the download when he clicks the menu which is linked to the .exe file. Choose the "Open URL or file " option and  then write the required .exe file name in the URL text field. Publish the project. Now copy  the .exe file to the same location where you have published the project.Now when you will click on the button, the .html will try to open the .exe file  with 2 option as “Save File” or “Cancel” option. Now it is up to the end user to decide what to do.


Thanks,


Subhransu

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 25, 2010 Oct 25, 2010

Copy link to clipboard

Copied

LATEST

Many thanks Subhransu

That all makes sense,

have a good day.

Cheers

Bill

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources