Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- echo Waiting for the process iFilter.exe to exit...
- :waitforpid
- tasklist /fi "imagename eq iFilter.exe" 2>nul | find "iFilter.exe" >nul
- if %ERRORLEVEL%==0 (
- timeout /t 2 /nobreak >nul
- goto :waitforpid
- )
- echo Process Quit, updating package!
- del /q ifilter.exe
- rename iFilter_new.exe iFilter.exe
- START iFilter.exe
Advertisement
Add Comment
Please, Sign In to add comment