Skip to Content
author's profile photo Former Member
Former Member

can we run a Local PC executable file from Portal 5.0?

Hi,

we need to run an executable file located on the local PC from EP 5.0. we even need to run the same file from portal server.

can any one please guide me how to do that? I appreciate if you can send any code or path to meet this task.

thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2004 at 11:57 AM

    Due to security reasons this is not easy and require the user to approve the action depending on security settings

    Since most users are using IE, we use VBSCRIPT

    <script language=VBScript> 
    sub execute 
     set objShell=CreateObject("Wscript.Shell") 
    
     objShell.Run("notepad") 
    end sub 
    </script> 
    

    Here I think notepad must be in the path of the user.

    There are also some specific ways to open office applications if they are installed, think its through CreateObject("Word.Application") but cannot remember.

    I am not going to lecture you on the horrible usability of this, especially if the portal is open to the internet

    [code]

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.