That title was a mouthful. I recently found a batch script on the Handbrake forum that would convert all video files in the current directory to another format with Handbrake (which is an open source video conversion application with pre-sets for many popular mobile devices). Anyway, I modified this batch script so that it would work on a folder and convert any files in that folder to another format (using a preset, which you can setup in the program… I just use the default preset for the iPhone and iPod Touch). Now, I wanted to be able to right click on a folder and select “Convert All Video to MP4” without having to copy this batch script to a new directory of video’s everytime I wanted to use it. Here’s the steps to accomplish this (This assumes that you have handbrake installed, also, I’m using the 32-bit version):
I tested this with Windows 7 (32-bit). Step 1, save this as a batch file to your computer somewhere where you can find it (I put mine in the C:Utilities directory and called it ConvertToMp4WithHandbrake.bat ). I use the iPhone & iPod Touch preset... or a custom one that I've used. You can see where to change it. I always convert to mp4's also. Here’s the batch script:
echo Made by kiiller_man1
echo Altered by Jinx101
if not exist "Convert" (
echo Making convert directory...
FOR %%F in ("*.*") DO (
echo Starting file: %%F
"C:Program FilesHandBrakeHandBrakeCLI.exe" -i "%%F" -o "Convert/%%F.mp4" --preset "iPhone & iPod Touch")
Now, how to get it in the context menu when you right click on a Folder (using the registry editor):
Tada.. ever folder you right click on in Windows will now have a "Convert Video in Folder to MP4" context menu. Thanks to everyone who posted before me and to those who originally put this script together.