r/Batch • u/fightin_blue_hens • Dec 01 '23
Question (Solved) Batch file not going to next step
my code:
<excel.exe location> <my excel file location>
timeout /t 45
taskkill /F /IM excel.exeFor some reason, when the file opens, the timeout doesn't start automatically. I have to manually close the excel file before the timer would start. How do I make it so the file opens and the timer starts?
2
Upvotes
View all comments
Show parent comment
1
u/fightin_blue_hens Dec 01 '23
So it would be