Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Launch a script as a dependency for an exe

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
stanlb
Asked:
stanlb
  • 2
1 Solution
 
matrixnzCommented:
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
 
stanlbAuthor Commented:
Thanks matrixnz, I am trying the batch file option.
0
 
stanlbAuthor Commented:
AutoIt is cool. I am trying to learn the scripts. Thanks a lot
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now