Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want a batch file to run when I exit a specific program, Nokia Suite in my case. I want to use Windows 7 task scheduler and would prefer avoiding any 3rd party program.

I have already checked Application event log and Nokia Suite seems to generate only one event with event ID 1.

Is it possible to achieve this using windows task scheduler?

share|improve this question
It's possible if you start Nokia with a batch file, then kick off the next step after it runs. – user3463 May 3 '12 at 15:32
up vote 4 down vote accepted

I would just write a batch file that starts the application then does what you want it to do after. This way the batch processing pauses while your Nokia stuff is running, then when it quits, goes on to the next line. Check out For help on batch files see

share|improve this answer
nice idea.. will still wait for some better idea though.. – tumchaaditya May 4 '12 at 2:43

I haven't tested this, but it seems like it should work.

Open the Task Scheduler & Create a Task

On the Triggers Tab, press "New.." and Set Begin the task: On an Event Log : Application Source: Application Event ID: 1

On the Actions Tab, press "New.." and Set Action: Start a program Program/Script: yada.bat (or possibly: cmd /c yada.bat) etc.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .