Solved

Launch a script as a dependency for an exe

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

12 Experts available now in Live!

Get 1:1 Help Now