Home » Company » Blog » Community » Search from the command line

Search from the command line

Andy Boyd, IDM
Marketing Manager

Like many of you in the UltraEdit user community, we're power users of software - our software and others. We want to get the most of our software so we love tips, tricks, shortcuts, etc.

If you're anything like me, and you like learning new tips and tricks, then I think you'll enjoy this tip...

UltraEdit supports a command-line method of searching in files with the -f flag. So, if you want to search a file for a string using the command line, simply open a DOS prompt and type:

uedit32 [file name] -f[search string]

UltraEdit will search for the [search string].

For instance, if you want to search "c:\temp\test.txt" for "hello world", type the following:

uedit32 c:\temp\test.txt -fhello world

Command line

Back to Top

Comment on this post

Required fields are marked with *.


Juan Girodana
Guest post
Comment
Much better than how to save an .xls as .csv
Reply #1 on : Wed May 26, 2010, 11:17:11
Much better than how to save an .xls as .csv
Pedantic
Guest post
Comment
I wonder...
Reply #2 on : Wed May 26, 2010, 12:47:52
Hey Andy, great tip.

I wonder, however, if we built a batch file that looked like this:

UEDIT %1 -f%2

Saved it under S.bat, if we could then do this:

S Text.txt Hello World

We might have to enclose Hello World in quotes, but this might make for a convenient shortcut.

R,
John

Back to Top