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 using a custom .bat file that closes my chrome browser, but can't seem to find information on what syntax I need to add in order for the process to end after a given amount of time. Can anyone, at least, point me in the right direction?

As an example of what I am trying to do, I want chrome to close 30 minutes from when I execute the following .bat file: taskkill /F /IM chrome.exe* I imagine I am missing something quite simply here.

Cheers

share|improve this question

you can insert before your command

timeout /t 3600

which will pause your batch for 3600 seconds (60 minutes).

share|improve this answer
    
Thank you. It worked just as I had hoped. – user196150 Feb 6 '13 at 21:53
    
soo..can you accept my answer then? – BroScience Feb 7 '13 at 18:29

You must log in to answer this question.

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