Skip to content

Instantly share code, notes, and snippets.

@5shekel
Created October 28, 2014 17:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save 5shekel/df7aa7fd4f6eabc5b4d8 to your computer and use it in GitHub Desktop.
drag and drop files on this batch script to generate thumbnail grid, works on folders as well.
@echo off
echo GOING TO PROCESS:
@echo %*
echo location of movie thumbnail http://moviethumbnail.sourceforge.net/
set MTN=M:\bin\mtn\mtn.exe
echo %MTN%
echo output folder
set OUTDIR=m:\thumbDump
echo %OUTDIR%
@pause
pushd %~dp0
if [%1]==[] goto :eof
:loop
:: see usage at http://moviethumbnail.sourceforge.net/usage.en.html
M:\bin\mtn\mtn.exe %1 -c 8 -r 6 -w 1800 -b 80 -W -P -z -O %OUTDIR%
shift
if not [%1]==[] goto loop
:eof
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment