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
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