My ES.exe Command Line Wish List

Have a suggestion for "Everything"? Please post it here.
Post Reply
keithg1964
Posts: 24
Joined: Thu Mar 26, 2009 3:55 pm

My ES.exe Command Line Wish List

Post by keithg1964 »

1) With the database now (optionally) including dates, times and size of files, display them during in addition to the file and path name.
2) If nothing specified on command line default to help, not a search of everything.
3) Add an page pause after each page (ie: es.exe es.exe | more)
4) Default to whole word search. (Change may upset other users and I would understand it this is not done)
5) Expand options to display help in addition to -h (ie /H /? etc)

If you wish to attack this list please start with number 1, as to others I can deal with.
The best way to deal with the items 2, 3 and 4 may be with an optional config file to leave defaults the same.

Keith

Ps I have an JPSoft Take Command Alias to deal with 2, 3 and 4 ( ff=iff %# GT 0 then %+ ( es.exe -w -s %1 | more ) %+ else %+ es.exe -h %+ endiff )
Thanks for a great tool!!!!
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: My ES.exe Command Line Wish List

Post by therube »

Much of what you can do, you can do by creating a batch file that calls ES.EXE with your wanted parameters.

So you can...

test %1 for "" or "-?" or "/?" & if match then send ES -? && pause && exit

Want whole word?
In your batch file, use, "ES -w" instead of simply "ES".


Pause.
Not a pause, but pipe ES results to a "file".

SF.bat:

Code: Select all

%*  |  clip.exe  &&  ShowTx.exe /paste
ShowTx is an auto-sizing plain text viewer that allows editing and saving the text. ShowTx is ideal for use in batch processes or as "Send To" application. Unicode.

So you can do something like:

Code: Select all

C:\>  SF.BAT  ES.EXE  dm:today !cache/ !cache2/
And with that, you get a nice scrolling window with files modified today:

Image


---


"SF.bat".
Oh, that might be meaningless to you, but In my mind "SF" stands for "Show File", a holdover from the same named utility on a Texas Instruments DX10 OS.
(Look that one up ;-).)
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: My ES.exe Command Line Wish List

Post by void »

ES 1.1.0.2 adds most these features:
1) With the database now (optionally) including dates, times and size of files, display them during in addition to the file and path name.
Use -dm, -size
2) If nothing specified on command line default to help, not a search of everything.
Use -empty-search-help
3) Add an page pause after each page (ie: es.exe es.exe | more)
Use -pause
4) Default to whole word search. (Change may upset other users and I would understand it this is not done)
Use -ww
5) Expand options to display help in addition to -h (ie /H /? etc)
-h, -help, /h, /help will now show the help.

Use -save-settings to make the specified switches the default.
For example, make ES match whole words by default:
es.exe -ww -save-settings

To temporarily disable match whole words, use:
es -noww
Post Reply