oliviano
11/4/2018 - 6:25 AM

Windows Command Prompt

A selection of commands for windows CMD

# pipe the results and match a string:
ffmpeg -encoders | findstr hap
C:>dir | findstr Windows

cd = dir
grep = findstr


# Print filename list to text file:
cd to working directory
dir /b > filenames.txt

# get file list based on extensions:
dir /s /b *.png > pngfilelist.txt 

# escape char
% in front of % 
so if cmd is image_%03d.png it becomes image_%%03d.png | another escape character is ^