Guest User

Untitled

a guest
Oct 27th, 2016
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.33 KB | None | 0 0
  1. @ECHO OFF
  2. echo Waiting for the process iFilter.exe to exit...
  3. :waitforpid
  4. tasklist /fi "imagename eq iFilter.exe" 2>nul | find "iFilter.exe" >nul
  5. if %ERRORLEVEL%==0 (
  6.     timeout /t 2 /nobreak >nul
  7.     goto :waitforpid
  8. )
  9.  
  10. echo Process Quit, updating package!
  11. del /q ifilter.exe
  12. rename iFilter_new.exe iFilter.exe
  13. START iFilter.exe
Advertisement
Add Comment
Please, Sign In to add comment