Solved

I there a way to run a batch file when a specific service starts

Posted on 2008-10-12
2
179 Views
Last Modified: 2012-05-05
I need to run a batch file when a specifi service starts. Any way of accomplish this?

Thanx
0
Comment
Question by:koujaianh
2 Comments
 
LVL 3

Accepted Solution

by:
Spydergt earned 125 total points
ID: 22700071
If there is an event that is written to the log when the service starts you may be able to use an event trigger to launch your script.

http://technet.microsoft.com/en-us/library/cc773308.aspx

Im not sure which OS your using but it may work =)
0
 

Author Closing Comment

by:koujaianh
ID: 31406207
Thanx. That worked.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

14 Experts available now in Live!

Get 1:1 Help Now