[FFmpeg-user] how to use ffprobe with Windows7

Dan Bridges dosdan at gmail.com
Thu Nov 22 11:15:00 EET 2018

On 22/11/2018 7:00 PM, Michael Koch wrote:
>> Yes, open CMD,then drag and drop the batch file into the terminal window
>> and press Enter.
>> Or just run ffprobe directly in the terminal.
> I was looking for a faster solution, without having to write video's
> name and path into the batch file, or into the CMD window. Just drag
> and drop and then I'd like to see the output of ffprobe.

The fastest solution is to create a shortcut icon on your desktop with
this target line:

C:\Windows\System32\cmd.exe /K ffprobe

This assumes ffprobe.exe is in your executable PATH list. Otherwise,
fully specially the path to it e.g

C:\Windows\System32\cmd.exe /K C:\ffmpeg\ffprobe

You can then drag your MP4 on to this icon Which you could call "Run

The /K switch will keep the command prompt window open afterwards.
You can type EXIT to close it.

Alternately, change your "Run ffprobe.bat" batchfile to this:

@echo off
c:\ffmpeg\ffprobe %1

The %1 takes the name of the filename you drag-and-drop onto the
batchile icon, if running from the desktop, or type after the batchfile,
if operating from the CLI.
Then, drag your MP4 on to this icon, and press Enter to close the window
when finished.


More information about the ffmpeg-user mailing list