Do everything with Everything!

Have a suggestion for "Everything"? Please post it here.
Post Reply
PeterPanino
Posts: 78
Joined: Sun Feb 21, 2016 10:26 pm

Do everything with Everything!

Post by PeterPanino »

There should be an additional "Actions" menu where the user can create custom actions to apply to the selected file:

• Start a specific program or batch file with the path of the selected file as parameter

• etc.

This would be extremely useful, as it would allow to do literally everything with Everything!
therube
Posts: 5058
Joined: Thu Sep 03, 2009 6:48 pm

Re: Do everything with Everything!

Post by therube »

You could do something like that with 'SendTo' (.lnk to a batch file).

Like I've set up a MI_Compare (SendTo) to compare two video files (using MediaInfo):

Code: Select all

:: MediaInfo _ command_com line COMPARATOR with CALL to [url=http://www.altap.cz/]Salamander's[/url] File Comparator

@echo	off
set	X_TEMP_PATH=%PATH%
path	%PATH%;C:\DEV\CODECS\MediaInfo_CL\;


set	OUT1=C:\OUT\MI_COMPARE1.TXT
set	OUT2=C:\OUT\MI_COMPARE2.TXT

echo	FILE 1:  >  %OUT1%
echo	%1  >> %OUT1%
echo.   >> %OUT1%
echo	FILE 2:  >  %OUT2%
echo	%2  >> %OUT2%
echo.   >> %OUT2%


:: originally, the above echo were not there, & if for some reason the MI failed,
::       like from a too long PATH, kind of thing
::    both the files ending up with nothing in them, so they would compare as
::    "equal", & they "were", except it was comparing against "nothing" instead
::    of actually returned valid results of the MI command
:: anyhow, MI does have exit codes; 0=success, 1=failure, but for some reason
::    depending on, not sure, file order (which one "first") or whatever, again
::    valid result may not have been given
:: with the echo's, at the least there will be some diffs to the files, so the
::    compare, while still not of relevant data, at least will "not compare" &
::    so will point out diffs, & then it's like, ah, what's going on here
:: so at least you know something is up, instead of "falsely" being told, oh,
::    your files compare, exactly [wrong]


C:\DEV\CODECS\MediaInfo_CL\MediaInfo_CL.exe  %1  >>  %OUT1%
:: if	errorlevel 1 echo FILE 1: MEDIAINFO DETECTED FAILURE,  %1  >>  %OUT1%
:: set	errorlevel=

C:\DEV\CODECS\MediaInfo_CL\MediaInfo_CL.exe  %2  >>   %OUT2%
if	errorlevel 1 echo FILE 2: MEDIAINFO DETECTED FAILURE,  %2  >>  %OUT2%
:: for some reason, these (TWO) errorlevel checks were not always returning
:: expected results, so i changed to the 'echo' method (above) which "forces"
:: diffs into %OUT_%, so a failure won't compare equally


"C:\Altap Salamander\plugins\filecomp\fcremote.exe"  %OUT1%   %OUT2%

set	PATH=%X_TEMP_PATH%
set	X_TEMP_PATH=
Post Reply