Menu

#418 queryVersion not working

open
nobody
None
bug
2021-07-12
2021-06-29
isidroco
No

In my script I check VDub version, but it seems that doesn't work anymore (or at least it opens VirtualDub and leaves it open), which difficults identifying on what version it's working with. Is there a way to queryversion and close virtualdub from command line?

Discussion

  • Anton Shekhovtsov

    It should work, just tried
    test.bat

    vdub.exe /queryVersion
    echo %errorlevel%
    
     
  • isidroco

    isidroco - 2021-06-30

    Please try with main program which is what I check to see if I can use newer commands, that doesn't work anymore, it worked until last version:

    virtualdub.exe /queryVersion
    echo %errorlevel%

     
  • isidroco

    isidroco - 2021-07-05

    Sorry to insist, but could you check it? In all previous VirtualDub.exe versions that funtion worked without problems.

     
    • Anton Shekhovtsov

      Sorry. The last version did not change for a long time and it works for me. No idea where the problem is.
      Note, vdub.exe is just a very simple wrapper for the main program which helps to connect it smoothly with the console environment (prevent initial window creation etc).

       
  • isidroco

    isidroco - 2021-07-12

    Ok, I was reluctant to use vdub.exe as it might be deleted, but as a workaround I'll change one line of my script:
    !vdloc!vDub.exe /queryVersion
    if errorlevel 42475 ( REM if ver>=42475 newer virtualDub2
    set noWavHeader=,0
    set xCompr=I& REM I default h264 vDub internal
    )

    Anyway, it would be worth trying to fix that issue on main VirtualDub.exe, as that command was working on all versions until last one. Thanks!

     

Anonymous
Anonymous

Add attachments
Cancel