Elipse Knowledgebase



KB-42306: Running ExecuteExternalApp method in a server’s script.

Question:

How can I run the ExecuteExternalApp method in a server's script?

Solution:

To do so, you can use the script below, which will perform the same task:

Set shell = CreateObject("WScript.Shell")
shell.Run "C:\arquivo.txt"
Set shell = Nothing


NOTE: There are certain restrictions to using Shell object in Win XP, since in Windows Vista and higher versions the services running in the SYSTEM account (such as E3Run) can no longer show windows; that is, they can no longer "interact with the desktop". In this case, the alternative is to add the scripts running programs with windows only in Viewer events, via ExecuteExternalApp method, or via Run Application pick. To do so, the folder holding the file must be shared on the network in order to be accessed from different client viewers/machines.


Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post Comment for "KB-42306: Running ExecuteExternalApp method in a server’s script."

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

   Name:
   Email:
* Comment:
* Enter the code below:

 

Article Details

Last Updated
4th of May, 2017

Autor
Mateus Machado

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue