Tuesday, July 16, 2013

Displaying thumbnails from Everything search engine using IrfanView

Everything search engine by voidtools is a great piece of software which I would highly recommend to users looking for a replacement to Windows' built-in search feature. Unfortunately in it's current state, Everything search engine does not allow the option of viewing image thumbnails. One way to work around this problem is to generate a list of all image filenames and import them into IrfanView.

These instructions operate under the following assumptions:
  1. Everything search engine along with "es.exe" (Everything's command-line interface) are installed to C:\Program Files\Everything
  2. IrfanView is installed to C:\Program Files\IrfanView
Open up Notepad (notepad.exe) and paste the following:
 @echo off  
 set ImageFileTypes=gif, jpeg, jpg, png, psd  
 for %%a in (%ImageFileTypes%) do (  
      "%ProgramFiles%\Everything\es.exe" -s ""*.%%a"" >> "%Temp%\images.txt"  
 )  
 "%ProgramFiles%\IrfanView\i_view32.exe" /filelist="%Temp%\images.txt" /thumbs  
 del /f /q "%Temp%\images.txt"  
Save the file as "previewImages.bat"

Make sure Everything search engine is running before executing "previewImages.bat"

No comments:

Post a Comment