ES 11031 broke my SS.BAT - Error: 7

General discussion related to "Everything".
Post Reply
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

ES 11031 broke my SS.BAT - Error: 7

Post by therube »

ES 11031 broke my SS.BAT - Error: 7, & I'm not sure why?

I'm getting (from the .bat file):

ESC=Quit; Up,Down,Left,Right,Page Up,Page Down,Home,End=ScrollError 7: Unable to
send IPC message or bad IPC reply.

or, from command line:

C:\out>es.ex2 -instance 15 -pause -path . bulkren
Error 7: Unable to send IPC message or bad IPC reply.


Below, ex.ex2 IS ex.exe.

Code: Select all

:: SS.BAT SjB 02-25-2024 .. 2001
:: Search Current Directory

@echo off

:: check for K: drive, a non-indexed (to Everything) drive

for %%i in (%cd%) do set VOLUME=%%~di
if %VOLUME%==K: (goto searchK:)
:: 01-21-2025, eh i have more then "just" K-drive ;-)
if %VOLUME%==O: (goto searchK:)
if %VOLUME%==P: (goto searchK:)


:: check for Everything not running [or if in Sandboxie] (in which case ES would not find anything, Error 8 or 9)

es.ex2 SS.BAT -instance 15 -no-result-error > nul
if %errorlevel% NEQ 0 goto searchK


:: (if NOT K:, AND, Everything is running then) search CWD using Everything Search

es.ex2 -pause -sort name -highlight -path . %1 %2 %3 -instance 15
goto end:



:: search K: drive, using DIR

:searchK
@cmd /c @dir /a /b /p /o:n /s *%1* %2 %3

:end



:: \bin\old\SS_old.bat *%1*

My other, regularly used batch file seems to be working just fine?

Code: Select all

@echo off
SET XES=%*
es.ex2  -instance 15  -name  -highlight  distinct:  %*  -p   !I: !H:   -no-result-error
:: pause
:: echo %*
:: pause
:: es.ex2  -instance 15                     distinct:  %*  -p   -double-quote -n 1 > c:\out\sssGO.TXT


:: if no results found, no need to do anything more, duh!
@if NOT %errorlevel% EQU 0 goto end:


@es.ex2 -instance 15                                        %*  -p   -export-efu  c:\out\sssGO.efu  !\Windows\Recent  file:
@es.ex2 -instance 15                                        %*  -p   -export-m3u8 c:\out\sssGO.m3u8 !\Windows\Recent  file: distinct:name video:   !I: !H:
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES 11031 broke my SS.BAT - Error: 7

Post by therube »

OK, so -no-ipc3 fixes it.

But why do i need it in SS.bat & not in SSS.bat?
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES 11031 broke my SS.BAT - Error: 7

Post by therube »

(all without -no-ipc3)

It's my search term, "bulkren" ?

bulk, works.
but bulk1, bulka, 'bulk' followed by any other characters does not?

yet, bull, works, as does, bullet & bulletspass.

and yet,
SSS.bat bulkren
does work ?


OK, explain this?

Code: Select all

C:\out>es.ex2 -instance 15 -pause -highlight -path . bulk1
ESC=Quit; Up,Down,Left,Right,Page Up,Page Down,Home,End=ScrollError 7: Unable to
 send IPC message or bad IPC reply.

C:\out>es.ex2 -instance 15 -pause -highlight -path . bulk ren
C:\out\textedit\subs\BRU_NoInstall_3430 (Bulk Rename Utility)
C:\out\textedit\subs\BRU_NoInstall_3430 (Bulk Rename Utility).zip
C:\out\BRU-&-4006\Bulk Rename & Utility.dmp
C:\out\BRU-&-4006\Bulk Rename & Utility.rpt
C:\out\BRU-&-4006\Bulk Rename Utility - Copy.ini
C:\out\BRU-&-4006\Bulk Rename Utility.chm
C:\out\textedit\subs\BRU_NoInstall_3430 (Bulk Rename Utility)\All\Bulk Rename Ut
C:\out\BRU-&-4006\Bulk Rename Utility.dmp
C:\out\BRU-&-4006\Bulk Rename Utility.exe
C:\out\BRU-&-4006\Bulk Rename Utility.ini
C:\out\textedit\subs\BRU_NoInstall_3430 (Bulk Rename Utility)\All\Bulk Rename Ut
C:\out\BRU-&-4006\Bulk Rename Utility.rpt
C:\out\Bulk.Rename.Utility.4.0.0.2.Commercial.rar
C:\out\Bulk_Rename_Utility_-KEYFILE.rar
C:\out\1028\bulkren

C:\out>es.ex2 -instance 15 -pause -highlight -path . bulkren
C:\out\1028\bulkren

C:\out>
Makes no sense?
In between... I'd run some SSS's & other SS's, opening new command prompts & doing so,
& then I went back to my initial prompt & what did not work a moment ago, now does ?
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES 11031 broke my SS.BAT - Error: 7

Post by therube »

Oh...

I put in ES 11031, but have not yet installed Everything > 1396a (on this computer).
I bet that's it.

So (as I'm currently half way between here & there), a successful search (a search that does return results) works, but a search that does not return any results, returns this Error 7: (instead of simply exiting).

("bulkren", bulk followed by any other characters does not exist (in CWD or below), so search does not return any results, hence, 7:.)


OK, so that seems to be settled ;-).
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES 11031 broke my SS.BAT - Error: 7

Post by therube »

And I bet you thought I was finished - take a deep breath &, and, AND -pause.


Well, for now, I am finished ;-).

Code: Select all

C:\out>es.ex2 -instance 15  -highlight -pause -highlight -path . bulkren
ESC=Quit; Up,Down,Left,Right,Page Up,Page Down,Home,End=ScrollError 7: Unable t
 send IPC message or bad IPC reply.

C:\out>es.ex2 -instance 15  -highlight -highlight -path . bulkren

C:\out>
You did -pause, no?
void
Developer
Posts: 19830
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 11031 broke my SS.BAT - Error: 7

Post by void »

Thank you for testing 1.1.0.31a therube,

It's a bug in es 1.1.0.31a when there's no results and using -pause.
es is trying to read one result, when there is none, so throws an error.
I will have an es update soon.
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES 11031 broke my SS.BAT - Error: 7

Post by therube »

(
So (as I'm currently half way between here & there)
BTW, that is immaterial.
)
void
Developer
Posts: 19830
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 11031 broke my SS.BAT - Error: 7

Post by void »

ES-1.1.0.32a fixed an issue with -pause when there is no results.
Post Reply