VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. hi

    want to create nfo file by drag drop specific video files and not do whole folder like this post here

    https://forum.videohelp.com/threads/383550-Mediainfo-CLI-to-creat-NFO

    thanks for any help
    Quote Quote  
  2. Code:
    For %%F IN (%*) do (
    ("C:\Program Files\MediaInfo CLI\MediaInfo.exe" "%%~fF" > "%%~dpnF.txt")
    shift)
    Edit: Was late last night. Should have tested before I uploaded. Script edited... and tested.
    Last edited by Secoast; 24th Jun 2024 at 15:19.
    Quote Quote  
  3. Originally Posted by Secoast View Post
    Code:
    for %%f in (%*) do (
    ("C:\Program Files\MediaInfo CLI\MediaInfo.exe" "%%ff" > "%%~nf.nfo")
    shift)

    thanks

    i tried it but im getting a 2bytes empty nfo file
    Quote Quote  
  4. Originally Posted by khaled22 View Post
    i tried it but im getting a 2bytes empty nfo file
    You need the Mediainfo client, not the mediainfo GUI.
    https://mediaarea.net/en/MediaInfo/Download/Windows

    Then you can use this batch:
    Code:
    @echo off
    "E:\MediaInfo_CLI\MediaInfo.exe" "%~1" >"%~1.nfo"
    exit
    Adjust the path to your Mediainfo.exe.
    Quote Quote  
  5. Originally Posted by ProWo View Post
    Originally Posted by khaled22 View Post
    i tried it but im getting a 2bytes empty nfo file
    You need the Mediainfo client, not the mediainfo GUI.
    https://mediaarea.net/en/MediaInfo/Download/Windows

    Then you can use this batch:
    Code:
    @echo off
    "E:\MediaInfo_CLI\MediaInfo.exe" "%~1" >"%~1.nfo"
    exit
    Adjust the path to your Mediainfo.exe.
    Thanks works. If i want to drop 2 or more files what it needs to be changed?
    Quote Quote  
  6. Originally Posted by khaled22 View Post
    Thanks works. If i want to drop 2 or more files what it needs to be changed?
    Here you go (adjust the mediainfo path):
    Image Attached Files
    Quote Quote  
  7. Originally Posted by ProWo View Post
    Originally Posted by khaled22 View Post
    Thanks works. If i want to drop 2 or more files what it needs to be changed?
    Here you go (adjust the mediainfo path):
    thank you very much..added mediainfo location and changed to nfo file..works fine
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!