I use an app called Mediainfo.exe which comes with the Codec packs. I use the start menu in TC 10.51 like this:
Command: C:\Program Files (x86)\K-Lite Codec Pack\Tools\mediainfo.exe
Parameters: "%p%n"
Start Path: "%p"
The problem is it does not work if anything with a path or name has spaces in it. How can fix this?
Start menu - mediainfo.exe path problem with long names
Moderators: Hacker, petermad, Stefan2, white
Re: Start menu - mediainfo.exe path problem with long names
Try this
Command: "C:\Program Files (x86)\K-Lite Codec Pack\Tools\mediainfo.exe"
Parameters: %P%N
Start Path:
Command: "C:\Program Files (x86)\K-Lite Codec Pack\Tools\mediainfo.exe"
Parameters: %P%N
Start Path:
Re: Start menu - mediainfo.exe path problem with long names
Wrong parameters.
This button works fine also with spaces in the name
Btw. if you have K-Lite installed there is Mediainfo already in the context menu of picture files.
So normaly no need for a button.
This button works fine also with spaces in the name
Code: Select all
TOTALCMD#BAR#DATA
"C:\Program Files (x86)\K-Lite Codec Pack\Tools\mediainfo.exe"
%P%N
C:\Program Files (x86)\K-Lite Codec Pack\Tools\mediainfo.exe
mediainfo
-1
So normaly no need for a button.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
Re: Start menu - mediainfo.exe path problem with long names
Leave Start Path empty. (special variable are not supported here and the default start folder is the active panel folder)
Use parameters: %N (lower case variable name %n means old 8.3 names which may or may not be available for your drive)
or: %P%N (include path if you like, probably not needed)
Double quotes are added automatically if the name contains space(s).
Use parameters: %N (lower case variable name %n means old 8.3 names which may or may not be available for your drive)
or: %P%N (include path if you like, probably not needed)
Double quotes are added automatically if the name contains space(s).
Re: Start menu - mediainfo.exe path problem with long names
Thank you, this works:
Command: "C:\Program Files (x86)\K-Lite Codec Pack\Tools\mediainfo.exe"
Parameters: %N
Start Path:
Command: "C:\Program Files (x86)\K-Lite Codec Pack\Tools\mediainfo.exe"
Parameters: %N
Start Path: