Spooky Posted December 9, 2003 Posted December 9, 2003 I just started using the taskill thing in the format:taskkill.exe /F /IM example.exeI have noticed that if i try to use it in an .inf file, it retrurns and error for invalid parameters. I'm not sure why this is happening but think its because in a .inf things dont wait for completion - in other words if I tell it to install, say for example isobuster, the install completes before the isobuster.exe file starts up and as a result the install complete is returned and the taskkill starts up before the isobuster.exe process does so as a result there is no isobuster task to kill when taskkill starts and the error is returned - if any of this makes sense.Anyway, if I do it with the start wait thing from a batch file, it works perfectly. I thought about just calling a single batch file from the .inf to take care of the taskkill problem and just let everything for it be done in the batch. Which kinda makes sense cause I know it works in a batch file. Anyone have any suggestions for use of taskkill in an .inf file?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now