Solved

Launch a script as a dependency for an exe

Posted on 2011-03-15
3
223 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
  • 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

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…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now