Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

ESearch

Aug
1,949
71
ESearch is an alias that uses Everything Search to display the location of a file(s).
Code:
esearch="C:\Program Files\JPSoft\TCMD%_vermajor\es.exe" /a-d -whole-word %1

Examples;
Display location of all .rexx files;
Code:
E:\Utils>esearch *.rexx 
C:\cygwin64\usr\share\regina-rexx\examples\animal.rexx
C:\Program Files\rexx.org\Regina\demo\animal.rexx
C:\cygwin64\usr\share\regina-rexx\examples\block.rexx
C:\Program Files\rexx.org\Regina\demo\block.rexx
C:\cygwin64\usr\share\regina-rexx\examples\dateconv.rexx
C:\Program Files\rexx.org\Regina\demo\dateconv.rexx
C:\cygwin64\usr\share\regina-rexx\examples\dynfunc.rexx
C:\Program Files\rexx.org\Regina\demo\dynfunc.rexx
C:\Program Files\rexx.org\Regina\demo\extqueue.rexx
C:\Program Files\rexx.org\Regina\demo\gci-try.rexx
C:\cygwin64\usr\share\regina-rexx\examples\getline.rexx
C:\lazarus\fpc\3.2.2\source\packages\amunits\scripts\getrecord.rexx
C:\lazarus\fpc\3.2.2\source\packages\amunits\scripts\make.rexx
C:\cygwin64\usr\share\regina-rexx\examples\newstr.rexx
C:\Program Files\rexx.org\Regina\demo\newstr.rexx
E:\Documents\GitHub\libs\_misc\infozip_lib\zip30_src\cmsmvs\pipzip.rexx
C:\cygwin64\usr\share\regina-rexx\examples\regutil.rexx
C:\cygwin64\usr\share\regina-rexx\examples\rexxcps.rexx
C:\Program Files\rexx.org\Regina\demo\rexxcps.rexx
C:\Program Files\rexx.org\Regina\demo\testeof.rexx
C:\cygwin64\usr\share\regina-rexx\examples\timeconv.rexx
C:\Program Files\rexx.org\Regina\demo\timeconv.rexx

Display location of all th*.chm files;
Code:
E:\Utils>esearch th*.chm 
C:\Program Files (x86)\Microsoft Visual Studio\MSDN98\98VSa\1033\THIN.CHM
E:\theRoot\2MSDN60\MSDN\THIN.CHM
E:\thinBasic\Help\thinAir.chm
E:\thinBasic_1_11_7_0\Help\thinAir.chm
E:\thinBasic\Help\thinBasic.chm
E:\thinBasic_1_11_7_0\Help\thinBasic.chm
E:\thinBasic_1_11_7_0\Help\thinbasic_oxygen_help.chm
E:\thinBasic\Help\thinbasic_TBEM.chm
E:\thinBasic_1_11_7_0\Help\thinbasic_TBEM.chm
E:\thinBasic\Help\thinBasic_TBGL.chm
E:\thinBasic_1_11_7_0\Help\thinBasic_TBGL.chm

Display location of all vbsedit.exe files;
Code:
E:\Utils>esearch vbsedit.exe 
C:\Program Files (x86)\Vbsedit\vbsedit.exe
C:\Program Files\Vbsedit\vbsedit.exe
C:\Users\jlcav\AppData\Local\VbsEdit\x64\vbsedit.exe
C:\Users\jlcav\AppData\Local\VbsEdit\x86\vbsedit.exe
C:\Windows\prefetch\VBSEDIT.EXE-35AC9B6E.pf
C:\Windows\prefetch\VBSEDIT.EXE-85AD7CEA.pf

Joe
 
Back
Top