3

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

1

1 Answer 1

3

you can insert before your command

timeout /t 3600

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.