i have 100's of media files. i want to generate media info based on file name. like 1.mkv=>will contain 1.txt, abc.mkv=>abc.txt
i am not sure how can i do that but here is one thing i tried. generate all mediafile into one text file. problem is it's not scanning the .mkv files. however if i set absolute path it's working like C:\ABC.mkv. i tried "*.mkv" and without ""
not working:
working:Code:@ECHO off MediaInfo "*.mkv">a.txt PAUSE
any help please?Code:@ECHO off MediaInfo "C:\aa.mkv">a.txt PAUSE
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
For all MKV files in a folder:
Code:for %%F in ("*.mkv") do "g:\program files\mediainfocli\mediainfo" "%%~dpnxF" >"%%~dpnF.txt"
Code:for /R %%F in ("*.mkv") do "g:\program files\mediainfocli\MediaInfo.exe" "%%~dpnxF" >"%%~dpnF.txt"
Code:for /R %%F in ("*.mkv" "*.mk4") do "g:\program files\mediainfocli\mediainfo" "%%~dpnxF" >"%%~dpnF.txt"
Code:for /R %%F in ("*.mkv" "*.mk4") do "g:\program files\mediainfocli\mediainfo" "%%~dpnxF" >"%%~dpnxF.txt"
-
thank you all
edit:
any difference between ~dpnF.txt and %%~dpnxF.txt?Last edited by iKron; 5th Jul 2021 at 04:19.
Similar Threads
-
Best Quick Upscale Script for 2D Animation and How to Batch
By bradwiggo in forum Video ConversionReplies: 2Last Post: 22nd May 2021, 14:38 -
Useful FFmpeg Windows Batch Script
By Guanadon in forum Newbie / General discussionsReplies: 0Last Post: 22nd Sep 2020, 10:48 -
Need Batch script help to prevent it asking for a language
By VideoFanatic in forum Video ConversionReplies: 0Last Post: 20th Dec 2019, 19:45 -
problem with youtube-dl used in batch script
By stax76 in forum ProgrammingReplies: 0Last Post: 27th Jun 2019, 20:52 -
Batch Script for Youtube-dl
By syalazar in forum Video Streaming DownloadingReplies: 1Last Post: 5th Feb 2019, 10:10