SFiles is easy to use.  The program is fully contained in
sfiles.exe.  It can be simply executed from the command line
(from Windows 95 or Windows NT) or called from the Program
Manager File Menu Run item.  

The first time its run, it will need to be registered.  Click
"Registration..." for the registration screen.  Before the 
program has been registered for the first time, the button
labeled "Generate the registration key for 1 month free" will
be available.  Click it to generate a key.  Click "Save 
Registration".  Then click "Close".  Note that the program
will not work after the registration runs out.  Click 
"Support Info"  or look at the file README.TXT for more 
information on getting a permanent registration.  

To run a search, enter the directory into the directory 
field.  It will remember many of the last entered directories and 
they can be selected from the pull down list.  Don't enter a 
filename here, only the directory name.  Forward or backward
slashes will be converted to backslashes.  Trailing slashes will
be removed. 

Check the "Search Subdirectories" if you want to check files
in those as well.

Enter the filename(s) to be searched for in the "filename 
pattern" box.  Enter multiple wildcards separated by spaces.
For example, the following could be entered in the filename 
pattern box:

	*.cpp *.h

To simply get a directory list, click "Search" at this time.  

Or, to look for a string in all these files and only show those
which match the string, enter the string to search for in
"Search for string in files" box.  

Set the "Ignore Case" checkbox if desired.  Then click "Search".

The filelist pattern box is then displayed.  While the list is
being built and added to the listbox, operations can be performed
on the list, or the list can be interrupted or restarted.  There
are several list operations available.

Whenever a string pattern is entered, the files in the list
appear with a plus (+) sign to the left of each file.  If the
file is selected and the "Expand" button clicked (or double click
on the file), the lines that matched the search pattern are
displayed below the filename.  

Then, to view the lines before and after the matched lines in
the file, select a line that was expanded out, and click "Widen"
as many times as desired.  Click "Narrow" to collapse the lines
back down.  

Selecting either a file or one of the expanded lines, then
clicking "Edit File" will launch an editor on this file.  The
default is notepad.exe.  To change the default, enter it into 
the box labeled "Pathname of Editor to use".  The entire pathname
of the editor needs to be entered.  Click "Browse..." to 
select the editor from a fileopen box.

When a file has been "expanded", the "Expand" button changes to
"Contract".  Click Contract to close up all the lines whether 
"widened" or not.

Sometimes it can be helpful to reset the expanded lines to the 
initial found lines by "Collapsing" and "Expanding" the file 
again.

To exit the program, click "Cancel" or press Escape.  Or, to 
do another search, click "Another Search".  The starting dialog
will be displayed again.

These directions are also available on the Web.  The URL is
http://www.tiac.net/users/swanware/

