Solved

Launch a script as a dependency for an exe

Posted on 2011-03-15
3
228 Views
Last Modified: 2012-08-13
I have a standard program running on the server. Say abc.exe. The program is shared by all users in the domain. How do i launch/run a script xyz.exe everytime the executable(abc.exe) is run by users. It is possible that 2 users invoke abc.exe at the same time. The executables are not services and i dont want to use services to achieve this...Any ideas?
0
Comment
Question by:stanlb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
matrixnz earned 250 total points
ID: 35148615
Wrap abc.exe inside another exe so that when it is run it will run the xyz.exe, batch file or if you prefer exe use something like AutoIT to achieve it.
;AutoIT Example Code

#NoTrayIcon

Run('abc.exe')
Run('xyz.exe')

Open in new window

0
 

Author Comment

by:stanlb
ID: 35175547
Thanks matrixnz, I am trying the batch file option.
0
 

Author Closing Comment

by:stanlb
ID: 35715464
AutoIt is cool. I am trying to learn the scripts. Thanks a lot
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question