Skip to content

Instantly share code, notes, and snippets.

@icecore2
Created August 11, 2018 13:57
Show Gist options
  • Save icecore2/a91464627d22c6ac7f70bb072373e8fa to your computer and use it in GitHub Desktop.
Save icecore2/a91464627d22c6ac7f70bb072373e8fa to your computer and use it in GitHub Desktop.
files_scanner_counter.bat
@echo off
set mkvmergepath=mkvmerge.exe path
set videofileformat=file extention
:: Files counter for convertion
echo.
echo =========== Counter to convertion ================
set filesCounter=0
for /r . %%A IN (*.%videofileformat%) do (
set /a filesCounter+=1
)
echo Found %filesCounter% files to convert with %videofileformat% extention.
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment