Solved

Launch a script as a dependency for an exe

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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