Search and Replace windows
 Search and Replace Help Index

Search and Replace is a Search (grep) utility you can use to find a given string in multiple files.  In the registered version, you can replace some, all or none of these strings with another string.  In the shareware version, you can only replace in the first file in each session.  A touch button allows you to change the date and time of the files you specify.  The Search Results list allows you to view the file using the associated viewer or the context of the line where the string was found (see Search and Replace for Windows main dialog).  Regular expressions are supported for both Search and Replace (registered version only).See Regular Expression Support for more details.  You can create Scripts for multiple Search/Replace strings and/or multiple paths and masks to process.  For processing multiple lines or Using Special Characters see the Binary Mode dialog (... buttons next to the Search and Replace fields).

How to...

Start a search	Enter (or select from combo boxes) a search string, one or more file masks and a path.  Then click Search.  For more information see Search and Replace for Windows main dialog.
Use Special characters or Multiple Lines in Search or Replace	Click the (...) button to the right of the Search or Replace String field to use multiple lines or special characters for that field.  The Binary Mode dialog will be displayed.  When you are done creating the string Binary mode -->> is displayed on the main dialog.  To view the string later, click the button again (it cannot be shown on the main screen).
Start a replace (registered version only)	Enter (or select from combo boxes) a search string, a replace string, one or more file masks and a path.  Then click Search & Replace.  For more information see Search and Replace for Windows main dialog.
Find Files only	Enter one or more file masks and a path.  Do not enter a Search String (or blank it out).  Then click Search.  For more information see Search and Replace for Windows main dialog.
Touch Files	Enter (or select from combo boxes) one or more file masks and a path.  You will be prompted for a date and time to use for all the files.
Change Options	Click the Options button (see Options dialog).  Among the options you can change are the colors to use for display, how often to prompt during replaces, a file(or printer) to write the output to, number of items to save in the combo boxes, etc.
View the Context of a Search Result	Double-click the Search Result or click the right (left for left-handers) mouse button and use the pop-up menu.  Binary files cannot be viewed at this time.  Registered version allows you to edit the file. To open the file using the associated program, double-click the Processing file... line in the Search Results or click the right (left for left-handers) mouse button and use the pop-up menu.
Use Regular Expressions	See Regular Expression Support.  Regular expressions are supported for Search and Replace (replacing allowed only in registered version).
Use Scripts for multiple Search and Replace strings or Paths.	You can save scripts containing multiple Search/Replace strings and/or paths and file masks to process.  See the see Script dialog for more information.
Use Command Line Parametrs	See Command Line Parameters.  For all practical purposes, only the Windows 95/NT can be used from the command line.

Main Menu

Action Menu

Edit Menu

View Menu

Commands

Search and Replace for Windows main dialog

Options dialog

Script dialog

Touch dialog

About dialog

Ordering Information

License Information

Copyright 1993-1996 Funduc Software Inc.


Actions Menu

Search

Select this item to start a search.

Search and Replace

We recommend that if you use this feature you also enter a backup path in the Options dialog. Select this item to start a search and replace.

Touch

Select this item to touch the files found using the mask(s) provided in the specified directory.

Exit

Select this item to exit the application.


Edit Menu

Copy Search Results

Select this item to copy the Search Results (if any) to the clipboard.  If the Search Results list contains nothing, this item is not available.


View Menu

Open with Associated File

Select this item to open the current file in the Search Results (if any) using the associated viewer.  If no viewer is associated with that file extension, the default viewer (configurable in the Options dialog  is used (default is NOTEPAD.EXE). .  The line where the focus is (marked by a thin rectangle) on the Search Results list is used to determine which file to open.  If the Search Results list contains nothing, this item is not available.

Open with Default Viewer

Select this item to open the current file in the Search Results (if any) using the default viewer (configurable in the Options dialog  is used (default is NOTEPAD.EXE). .  The line where the focus is (marked by a thin rectangle) on the Search Results list is used to determine which file to open.  If the Search Results list contains nothing, this item is not available.

Open with...

Select this item to open the current file in the Search Results (if any) using the a viewer of your choice.  A Select Viewer dialog  will allow you to select the viewer to use.  The line where the focus is (marked by a thin rectangle) on the Search Results list is used to determine which file to open.  If the Search Results list contains nothing, this item is not available.

Contents

Select this item to view the current line in the Search Results (if any) and several lines before and after it using the View Context dialog.  The line where the focus is (marked by a thin rectangle) on the Search Results list is used to determine which line to show.

Options

Select this item to display the Options dialog.


Search and Replace main window
Search and Replace for Windows dialog box

Basic Functionality

The Search and Replace for Windows Utility allows you to search (and replace it with another string if you wish) for a given string in a set of files you specify on a path you specify.  You can also use the application as a file finder by not entering a Search String.

The dialog box is sizable, maximizable and minimizable for your convenience.

The found strings and the files they are found in are clearly displayed in a list box using a customizable color.

Search String field

Enter the string to search for in this field or select a previous search string from the combo list.  Your last few search strings are saved for you by the application and you can find them in the combo box list.  If you do not enter a Search String, the File Mask and Path fields will be used to execute a File Find, with the results displayed in the Search Results list.

Search String Browse button (... next to Search String field)

Click to use multiple lines or special characters for the Search field.  The Binary Mode dialog will be displayed to allow you to create the multiple line and/or special character Search String.  When you are done creating the string Binary mode -->> is displayed on the main dialog.  To view the string later, click the button again (it cannot be shown on the main screen).

Replace String field

Enter the string to replace with in this field or select a previous replace string from the combo list.

Your last few strings to replace are saved for you by the application and you can find them in the combo box list.

Replace String Browse button (... next to Replace String field)

Click to use multiple lines or special characters for the Replace field.  The Binary Mode dialog will be displayed to allow you to create the multiple line and/or special character Replace String.  When you are done creating the string Binary mode -->> is displayed on the main dialog.  To view the string later, click the button again (it cannot be shown on the main screen).

File Mask field

One or more search masks for search files.  The masks are those used in the DOS dir command (Examples: *.*;*.txt;*.doc;*.??1).  More than one mask can be specified by using a semicolon separator (see example above). You can use the ~ character to denote a mask NOT to search (for example: *.*;~*.swp;~*.exe;~*.dll).  To specify a ~ as part of the file mask, use \~ (ie *.*;\~*.tmp).  Your last few search file masks are saved for you by the application and you can find them in the combo box list.

Path field

Path where files to search reside.  You may type it by hand, navigate to it by using the Browse button below, or select a previously used path from the combo list.  Your last few search paths are saved for you by the application and you can find them in the combo box list.

Path Browse button (... next to Path field)

Click to select  the path where files to search reside.  The Select Path dialog will be displayed to allow you to visually select the path.  If the Path field (described above) contains a valid path, it will be your starting path in the Select Path dialog.  Otherwise, the current path will be used.

Case sensitive field

Check this field if you want the search to be case sensitive.  Uncheck it if you want to search regardless of case.

Search subdirectories field

Check this field if you want to search all subdirectories of your path (this will usually slow your search down).  Uncheck it if you just want to search the specified path.

Match Whole Word

Check this field if you want to look for the exact word or phrase specified (enclosed by whitespace).  For example, if this option is on and you look for Window, the program will find it in the phrase ...use the Window menu... but not in the phrase ...Windows 95....  If this option is not checked, both occurrences will be found.

Regular Expression field

Check this field if you want to use a regular expression.  Case sensitive and binary mode can be used in conjunction with this type of search. See Regular Expression Support for more information on the syntax supported.

Search Results List

Your search results are displayed there.  The file name and the strings found are displayed in different colors (if you cannot see them, try changing the colors from the Options dialog).  You can double-click an item to  display the View Context dialog (if double-clicking on a line where the search string is displayed) or Shell the executable associated with it (in File Manager).  You can also use the right mouse button to display a menu or use the Ctrl+C key to copy the list box contents to the Clipboard.

Search button

Click this button to start a search.

Search and Replace button

We recommend that if you use this feature you also enter a backup path in the Options dialog.  Click this button to start a search and replace.

Options button

Click this button to display the Options dialog.

Touch button

Click this button to touch the files found using the mask(s) provided in the specified directory.

About button

Click this button to view system information, Ordering Information and licensing information.

Exit button

Click this button to exit the application.


Options Dialog description
Options dialog box

Display File Names

Select All Files Searched to get a notification for every file searched (even if no strings were found).

Select Only ones with hits to get feedback only from files where the search string was found and to see the hit lines.

Select No Hit Lines if you only want to know how many hits were found in each file,

Number of items to save

Select the maximum  number of items to save in the Search String, Replace String, Mask and Path combo boxes.

Number of lines to view

Select the number of items before and after the hit line to view in the View Context dialog.

Found Color Button

Choose this button to display the Color dialog to select a new color for the found strings in the list.

File Color Button

Choose this button to display the Color dialog to select a new color for the file names where the strings were found.

Show Output to File and Browse button

Enter a file name (if no path is specified, the current directory is used) for a file where the list output will be directed.  If this field is blank, no file is produced. ).  You may also use the Browse button to select a default viewer, in which case you will see File Save As dialog.

Before Hit

You can change the string displayed before hits in clipboard dump or in the Output File.  If you do not want anything displayed, blank out this field.

After Hit

You can change the string displayed after hits in clipboard dump or in the Output File.  If you do not want anything displayed, blank out this field.

If no association use and Browse button

Enter a file name for the default viewer (to be used when a file has no association). You may also use the Browse button to select a default viewer, in which case you will see Select Viewer dialog.

Search and Replace group

Select Prompt on all to get a prompt on every string to be replaced in every file.  Select Prompt on each file to get a prompt for all occurrences in each file. (If you use this option, you may not realize exactly the context of every string you replace).  Select Replace All  to not get any prompts at all for all replaces. (If you use this option, you may not realize exactly the context of every string you replace or which files you replace them in until after the operation is finished).

Backup Path and Browse button

Select a backup path if you want your old files backed up.  You may also use the Browse button to select a path, in which case you will see the Select Path dialog.  The directory tree will be created if needed during the Replace operation (if Search Subdirectories was checked)

Write Files to Backup Path field

Check this box if you want to write the changed files to the backup directory.  Also specify a Backup Directory.   The directory tree will be created if needed during the Replace operation (if Search Subdirectories was checked)

Max Reg. Expr .field

Enter the maximum number of bytes to allow for searching for a regular expression (such as *).  See Regular Expression Support for more details.  The maximum allowed is 4096 (4K).

OK button

The changes will be made.

Cancel button

The changes will not be made.


scripts: using
Script dialog box

Basic Functionality

The Script dialog allows you to create and edit Search and Replace scripts.  You can use a script to specify multiple search/replace combinations for processing, to save a particular Search or Replace string for later use, or to process multiple drives/directories and/or file masks.  You can override the Search and Replace strings in the main dialog and still use the Masks and Paths, or you can override anything but the list of paths, or only use the Search/Replace list on a path and mask specified in the main window.

Multiple Search and Replace Items

Search String field

Enter the string to search for in this field.  Selecting a row in the Search/Replace List will display the information for that row and allow you to edit it.  When you are done with this field, the Replace string and the Case Sensitive, Regular Expression and Match Whole Word settings, you can click Apply to save the information.

Search String Browse button (... next to Search String field)

Click to use multiple lines or special characters for the Search field.  The Binary Mode dialog will be displayed to allow you to create the multiple line and/or special character Search String.  When you are done creating the string Binary mode -->> is displayed.  To view the string later, click the button again.

Replace String field

Enter the string to search for in this field.  Selecting a row in the Search/Replace List will display the information for that row and allow you to edit it.  When you are done with this field, the Search string and the Case Sensitive, Regular Expression and Match Whole Word settings, you can click Apply to save the information.

Replace String Browse button (... next to Replace String field)

Click to use multiple lines or special characters for the Replace field.  The Binary Mode dialog will be displayed to allow you to create the multiple line and/or special character Replace String.  When you are done creating the string Binary mode -->> is displayed.  To view the string later, click the button again.

Case sensitive field

Check this field if you want the search to be case sensitive.  Uncheck it if you want to search regardless of case. To save the information for the current row when you are done, click Apply (in the same group).

Search subdirectories field

Check this field if you want to search all subdirectories of your path (this will usually slow your search down).  Uncheck it if you just want to search the specified path. To save the information for the current row when you are done, click Apply (in the same group).

Match Whole Word

Check this field if you want to look for the exact word or phrase specified (enclosed by whitespace).  For example, if this option is on and you look for Window, the program will find it in the phrase ...use the Window menu... but not in the phrase ...Windows 95....  If this option is not checked, both occurrences will be found. To save the information for the current row when you are done, click Apply (in the same group).

Regular Expression field

Check this field if you want to use a regular expression.  Case sensitive and binary mode can be used in conjunction with this type of search. See Regular Expression Support for more information on the syntax supported. To save the information for the current row when you are done, click Apply (in the same group).

Apply button for Search/Replace List

Click this button to save the information for the currently selected row.

Remove button for Search/Replace List

Click this button to delete the information for the currently selected row.

Remove All button for Search/Replace List

Click this button to remove all the Search/Replace rows (to start a new script for example).

Multiple Paths and File Masks Items

File Mask field

One or more search masks for search files.  The masks are those used in the DOS dir command (Examples: *.*;*.txt;*.doc;*.??1).  More than one mask can be specified by using a semicolon separator (see example above).  You can use the ~ character to denote a mask NOT to search (for example: *.*;~*.swp;~*.exe;~*.dll).  To specify a ~ as part of the file mask, use \~ (ie *.*;\~*.tmp).  To save the information for the current row when you are done, click Apply (in the same group).

Path field

Path where files to search reside.  You may type it by hand, navigate to it by using the Browse button below, or select a previously used path from the combo list.  Your last few search paths are saved for you by the application and you can find them in the combo box list. To save the information for the current row when you are done, click Apply (in the same group).

Path Browse button (... next to Path field)

Click to select  the path where files to search reside.  The Select Path dialog will be displayed to allow you to visually select the path.  If the Path field (described above) contains a valid path, it will be your starting path in the Select Path dialog.  Otherwise, the current path will be used.   To save the information for the current row when you are done, click Apply (in the same group).

Path/Mask List

The items currently saved in this script are displayed.  To change a specific row, select it in this list.  The information for the row will then be displayed and you can then modify or delete it as you wish.

Apply button for Path/Mask List

Click this button to save the information for the currently selected row.

Remove button for Path/Mask List

Click this button to delete the information for the currently selected row.

Remove All button for Path/Mask List

Click this button to remove all the Path/Mask rows (to start a new script for example).

Script Operations

Save As button

Click this button to save the created/modified script to disk.

Load button

Click this button to load a script from disk for editing or using Search, Search and Replace, Touch or File Find.

Use Script button

Click this button to use the script  for Search, Search and Replace, Touch or File Find.  You can override several of the script settings in the main window (see Basic Functionality desctiption above for details).

Cancel button

Exits the dialog without using the script settings.  If you made changes to a script, you are asked whether you want to save the information.


Regular Expression support

You can use Regular Expressions for more advanced searches, where the Search String follows a rule and is not always exactly the same.  An operator is a symbol that controls the search and an expression is any combination of characters and operators that specifies a pattern.

Here are some examples:

What to Match	Operator	Examples
Any single character	?	g?t finds get, got, gut
Any string of characters (one or more)	+	w+e finds wide, white, write but not we
Any string of characters (or none)	*	w*e finds wide, white, write and we
One of the specified characters	[]	g[eo]t finds get and got but not gut
One of the characters in a range	[-]	[b-p]at finds bat, cat, fat, hat, mat but not rat or sat
One expression or another	(|)	W(in|indows) will find Win or Windows
One or more expressions	+()	+(at) will find atat in catatonic and at in battle
Two strings nearby (perhaps on different lines)	*[]	the*[\0-ÿ]first will match the first and the (line feed... more text) very first You can enter special characters in the Binary Mode dialog (the ... buttons next to the Search and Replace Strings) and use them with regular expressions.
A string that doesnt start with an expression	!()	!(http): will match : in following: but not in http://home.sprynet.com//sprynet/funduc
One of the characters not in a range	![-]	[b-p]at finds bat, cat, fat, hat, mat but not rat or sat
An expression at the beginning of a line	^	^the finds the at the beginning of a line and The if case sensitive is turned off.t
An expression at the end of a line	$	end$ finds end when its the last string on a line.

Regular expressions are supported using a subset of the UNIX grep notation for Searching and DOS style Batch file input parameter notation with some extensions for Replacing.

The major differences between the Search and Replace and egrep regular expressions are:

•	. operator is not supported

•	*+?! operator must precede an expression enclosed by () or [] (such as *[123] or +(Windows)).  Otherwise, the operator is assumed to match any/all characters from beginning of line or to the end of the line.

See more Regular Expression Examples.

Using the case sensitive flag and binary mode strings are supported.  Note that the \ character must be doubled (\\) for it to be matched correctly when using Regular Expressions.  Also see below which characters must be preceded by \ to be interpreted as a literal (search and replace special characters are different).

Search Regular Expressions Supported

Match Operators

*	Zero or more expressions enclosed in () or can be used by itself (see below).  This operator is meant to be used around strings.  Entering several expressions in a row containing * should be carefully done to avoid overlapping characters which can produce unpredictable matches.  A list of characters to match can be specified ( Windows *[0-9] will match Windows 95).
	Example: *(is) will match zero or more strings such as: is, isis.
	This operator can also be used to match all characters between two strings.
	Example: Win*95 will match Windows 1995, Win 95, Windows 95 etc.
	Note: using the operator at the beginning of the line will match all characters from the start of the line and at the end, to the end of the line.  You can match characters between two or more strings (up to 512 characters apart) by specifying a range after the * operator: Windows*[\0-ÿ]95 will match up to 512 characters (on several lines) between Windows and 95.
+	One or more expressions enclosed in ().
	Example: +(is) will match one or more strings such as: is, isis.
?	Exactly one expression enclosed in () or any one character.
	Example: ?(is) will match the string is or si.
	This operator can also be used to match any character between two strings or before or after a string.  This is the main use for this operator.
	Example: Win?95 will match Win 1995, Win-95, Win/95 etc.
	Note: Using this operator by itself will  match every character in a file one at a time and should be avoided.
!	Does not match if the expression is found.
	Example: !(a-c)at will match the string mat, rat or fat but not bat or cat.
	Another use is to look for a string that doesnt contain an expression.  Example:  !(Windows )95 will find 95 in 1995 but not in Windows 95
^	An expression that starts at the beginning of a line.
	Example: ^the finds the at the beginning of a line and The if case sensitive is turned off.
$	An expression that ends at the end of a line
	Example: end$ finds end when its the last string on a line.

Sub-Expression Operators

[]	Any one character entered between the brackets will be matched.  Ranges are allowed by using the a-z notation.  The [] operator can be used after a ?* + operator to modify the range matched by that operator (for example *[0-9] will match: 234907, 5795, or  an empty string).
	Example: [niewW] will match one or more strings such as: Win, new, win.
	Example: [a-z] will match any lower case strings if case sensitive and any words if not case sensitive.  You can also enter [a-zA-Z0-9\-_] ie. multiple ranges and the - character itself preceded by a \.
()	Denotes one or more sub-expression.  You can specify matching an expression or another by using the | operator.
	Example: Win( 95|dows 95) will match strings such as: Windows 95 and Win 95.

Special Search Characters

The following characters must be preceded by a \ to be interpreted as a literal in a search: -+*?()[]\|$^|

Complex Expressions

The above mentioned operators can be combined to produce searches such as:

?include (<|\[)[a-z0-9_].h*(p)+[\]>]	Will match: #include [stdafx.h] #include <dos.h> #include [my_include.hpp] #include [sr32.h] etc.
Replace Regular Expressions Supported

The operators matches can be replaced with nothing (removed), the case of the text matched can be changed or they can be left intact.  All operators may match some strings and therefore all should be accounted for in the replace expression.

Match Operators

%n	%1 will use the first expression in the search string.  For example: Given Search string: ?include (<|\[)[a-z0-9_].h*(p)+[\]>] You can replace that with: %1exclude [%3>.H%4>] and get results: #include [stdafx.h]      to     #exclude [STDAFX.H] #include <dos.h>         to     #exclude [DOS.H] #include [my_include.hpp]   to   #exclude [MY_INCLUDE.HPP] #include [sr32.h]         to    #exclude [SR32.H] In this example: %1  - ? %2  - (<|\[) %3 -  [a-z0-9_] %4 -  *(p) %5 - +[\]>] These parameters can be used several times, omitted or used in any order.
<	Make lower case operator.  To be used in conjunction with %n: %1< will replace the original first matched expression with its lower case version.
>	Make upper case operator.  To be used in conjunction with %n: %1> will replace the original first matched expression with its upper case version.
Special Replace Characters

The following characters must be preceded by a \ to be interpreted as a literal in a replace: %\<>


Regular Expression Examples

For all the replaces, you can see the result of the operation by making sure that in the Options dialog the Prompt on All radio button is selected (in Search and Replace Options group).

Search String	Will Match
[on]	non, no, on
\[	[
+[a-z]	abcdefghijklomopqrstuvwxyz if used with Case Sensitive off, it will also match ABCDEFGHIJKLMNOPQRSTUVWXYZ
[a-zA--ZÀ-ÿ]	matches the same as the example directly above (regardless of case sensitive flag) and also all other special characters for Western European languages.  See the Binary Mode dialog for the order of those characters in the ASCII table.
+(one|two|three)	one, onetwo, twothree
?(one|two|three)	one,two,three
Windows*[\0-ÿ]95	Will match up to 512 characters (on several lines) between Windows and 95.
all * replaces	all the replaces (the * character matches all chars on the same line unless a [] expression overrides that - see above)
/**[\0-ÿ]*/	Will match C style comments on several lines if necessary (up to 512 characters).
01*[0-9].htm	01346.htm, 01.htm, 016965.htm
*[ab]c	c, abc, bac, abbc, bbac
Search String	Replace String	Effect
*.*	%1>.%2>	c:\windows\win.ini  => C:\WINDOWS\WIN.INI
+[a-z]	%1>	Windows  => WINDOWS
7*.htm	5%1.htm	711.htm => 511.htm 7days.htm => 5days.htm
[253]7[832].htm	%15%2.htm	3572.htm => 3552.htm
*[253]7[832].htm	%15%2.htm	72.htm => 52.htm
(homepage|index).htm	%11.htm	homepage.htm => homepage1.htm index.htm => index1.htm
+(12)[0-9]	%1%2a	12532 => 12532a 1212753 => 1212753a
???*(d|m).htm	%1%2%3d1.htm	card.htm => card1.htm form.htm => form1.htm
?(Windows)	OS/2	Windows => OS/2    (just kidding)
.


Touch Dialog

This window allows viewing and changing the date and time which will be assigned to the files using the masks specified.

Date field

Select the date to be used (in format mm/dd/yy or mm/dd/yyyy).

Time fields

Select the time to be used (in format hh or hh:mm or hh:mm:ss) and AM or PM (do not use military time).

OK button

The dates and times will be set for all the files found using the masks specified.

Cancel button

No files will be touched.

Update button

The date and time will be refreshed using the current date and time (on the PC clock).


Binary Mode(special characters or multiple lines) dialog
Binary Mode Dialog

This window allows entering multiple lines for search and replace strings.  It also allows users to enter binary characters(such as tabs, special characters, etc).  See Using Special Characters for more details.  To Search/Replace line feeds, use \r\n and for TAB characters, use \t.

Search/Replace Block field

You can type, paste(using paste button or Ctrl+V) text already in the Clipboard or use the Binary Codes list (below) to add characters to this field.  Note that you can perform the usual editing operations in this field by using the keyboard as follows:

Copy - Ctrl+C

Paste - Ctrl+V

Undo - Ctrl+Z(last operation only)

Binary Codes fields

This List allows you to add special characters to the Search/Replace field by either double-clicking or selecting an item and then clicking the Add Code button

Add Code button

The Binary Code specified will be added to the Search/Replace Block field.

OK button

The Search/Replace field will be used as specified.

Cancel button

No changes are made.

Paste Text

The text currently in the clipboard is pasted in the Search/Replace Block field.  If anything is selected in the Search/Replace field, the selection will be replaced by the text pasted.  If no text is in the clipboard, nothing will happen.


Special  (binary) characters: using
Using Special Characters

You can process (either Search for or Search and Replace) binary characters, line feeds (in DOS CR LF combinations - \r\n), tabs, etc by using the Binary Mode dialog which is available from the ... buttons next to the Search and Replace String fields.

The most important special characters are \r\n (the DOS linefeed sequence), \t (the TAB character) and \\ (note the \ characters MUST be doubled for the parser to work correctly).  Since you can use the Binary Mode dialog with Regular  Expressions, see the Regular Expression Support for additional special characters.

Here is the list of Special characters:

Representation	Description
\0	Character 0
\0x1	Character 1
\0x2	Character 2
\0x3	Character 3
\0x4	Character 4
\0x5	Character 5
\0x6	Character 6
\a	ASCII Bell characters
\b	ASCII Backspace character
\t	TAB
\n	Line Feed (in DOS \r\n constitute a line feed)
\v	Vertical TAB
\f	Form Feed
\r	Carriage Return (in DOS \r\n constitute a line feed)
\0xe	Character 14
0\xf	Character 15
0\x10	Character 16
0\x11	Character 17
0x\12	Character 18
0x\13	Character 19
0x\14	Character 20
0x\15	Character 21
0x\16	Character 22
0x\17	Character 23
0x\18	Character 24
0x\19	Character 25
0x\1a	Character 26
0x\1b	Character 27 (ESC char)
0x\1c	Character 28
0x\1d	Character 29
0x\1e	Character 30
0x\1f	Character 31
	(space)
!	!
\"	"
#	#
$	$
%	%
&	&
\'	'
(	(
)	)
*	*
+	+
,	,
-	-
.	.
/	/
0	0
1	1
2	2
3	3
4	4
5	5
6	6
7	7
8	8
9	9
:	:
;	;
<	<
=	=
>	>
\?	?
@	@
A	A
B	B
C	C
D	D
E	E
F	F
G	G
H	H
I	I
J	J
K	K
L	L
M	M
N	N
O	O
P	P
Q	Q
R	R
S	S
T	T
U	U
V	V
W	W
X	X
Y	Y
Z	Z
[	[
\\	\
]	]
^	^
_	_
`	`
a	a
b	b
c	c
d	d
e	e
f	f
g	g
h	h
i	i
j	j
k	k
l	l
m	m
n	n
o	o
p	p
q	q
r	r
s	s
t	t
u	u
v	v
w	w
x	x
y	y
z	z
{	{
|	|
}	}
~	~
0\x7f	Character 127
0\x80	Character 128
0\x81	Character 129
0\x82	Character 130
0\x83	Character 131
0\x84	Character 132
0\x85	Character 133
0\x86	Character 134
0\x87	Character 135
0\x88	Character 136
0\x89	Character 137
0\x8a	Character 138
0\x8b	Character 139
0\x8c	Character 140
0\x8d	Character 141
0\x8e	Character 142
0\x8f	Character 143
0\x90	Character 144
0\x91	Character 145
0\x92	Character 146
0\x93	Character 147
0\x94	Character 148
0\x95	Character 149
0\x96	Character 150
0\x97	Character 151
0\x98	Character 152
0\x99	Character 153
0\x9a	Character 154
0\x9b	Character 155
0\x9c	Character 156
0\x9d	Character 157
0\x9e	Character 158
0\x9f	Character 159
0\xa0	Character 160
0\xa1	Character 161
0\xa2	¢
0\xa3	£
0\xa4	¤
0\xa5	¥
0\xa6	¦
0\xa7	§
0\xa8	¨
0\xa9	©
0\xaa	ª
0\xab	«
0\xac	¬
0\xad	­
0\xae	®
0\xaf	¯
0\xb0	°
0\xb1	±
0\xb2	²
0\xb3	³
0\xb4	´
0\xb5	µ
0\xb6	¶
0\xb7	·
0\xb8	¸
0\xb9	¹
0\xba	º
0\xbb	»
0\xbc	¼
0\xbd	½
0\xbe	¾
0\xbf	¿
À	À
Á	Á
Â	Â
Ã	Ã
Ä	Ä
Å	Å
Æ	Æ
Ç	Ç
È	È
É	É
Ê	Ê
Ë	Ë
Ì	Ì
Í	Í
Î	Î
Ï	Ï
Ð	Ð
Ñ	Ñ
Ò	Ò
Ó	Ó
Ô	Ô
Õ	Õ
Ö	Ö
\xd7	Character 215
Ø	Ø
Ù	Ù
Ú	Ú
Û	Û
Ü	Ü
Ý	Ý
Þ	Þ
ß	ß
à	à
á	á
â	â
ã	ã
ä	ä
å	å
æ	æ
ç	ç
è	è
é	é
ê	ê
ë	ë
ì	ì
í	í
î	î
ï	ï
ð	ð
ñ	ñ
ò	ò
ó	ó
ô	ô
õ	õ
ö	ö
0xf7	Character 247
ø	ø
ù	ù
ú	ú
û	û
ü	ü
ý	ý
þ	þ
ÿ	ÿ


Command Line Parameters

For the Windows 95/NT version, command -line parameters can be used as follows:

/i	Case Insensitive (note that this option is the reverse of what the user interface shows).  If not specified, Case Sensitive is assumed.
/x	Regular Expression.  If not specified, it is assumed off.
/d	Search Subdirectories.  If not specified, it is assumed off.
/w	Match Whole Word (ignored if Regular Expression is used) .  If not specified, it is assumed off.
/r	Perform a  replace (to be used with Script see below).
/t	Perform a Touch on the files specified.
/sstring	Search String to use (automatically starts a Search).  If the string contains spaces or / characters, enclose it in double quotes.
/pC:\*.ini;*,txt	Path to search with mask(s) appended after the \.  If no path or masks are specified, the last program default is used.
/oresults.txt	Output file to send the search results to.  If not specified, the last program default is used (this is specified in the Options dialog).
/cscript.srs	Script file to use.  If Replace or Touch is not specified(see above), a Search is performed.

The flags can be upper or lower case and the ixdw flags can be used separately or together in any order.  Here are some examples:

SR32 /oc:\dump.txt /sWindows /pc:\windows\*.ini /id

SR32 /I /D /oc:\dump.txt /SWindows /pc:\windows\*.ini /id


Replace dialog
Replace Confirmation Dialog

This window allows several options for replacing the string found:

Replace This button

This occurrence of the found string will be replaced.

Replace Rest In File button

All occurrences of the found string in the file currently processed will be replaced.

Replace Rest In Directory button

All occurrences of the found string in the files in the current files directory will be replaced.

Replace All Remaining button

All occurrences of the found string in the file currently processed and the files processed after that will be replaced.  No more prompts will be displayed until the end of the operation.

Skip This button

This occurrence of the found string will not be replaced.

Skip Rest of File button

All remaining occurrences of the found string in the file currently processed (including the current one) will not be replaced.

Skip Rest In Directory button

All occurrences of the found string in the files in the current files directory processed (including the current one) will not be replaced.

Cancel Remaining button

All occurrences of the found string in the file currently processed and the files processed after that will not be replaced.

Found String List

The list box containing the Search Results allows you to double-click an item to  display the View Context dialog (if double-clicking on a line where the search string is displayed) or Shell the executable associated with it (in File Manager).  You can also use the right mouse button to display a menu or use the Ctrl+C key to copy the list box contents to the Clipboard.  To change the colors and many other options, click the Options button.


About Search and Replace
About Box

This window contains system and copyright information.  Click the Ordering Info button for

Ordering Information or the License Info button for License Information.

For customer support, contact 102372.2530@compuserve.com.


Confirmation Dialog

This window allows you to confirm whether or not you want to perform an operation (such as replace Read-Only files).  A Yes To All button allows you to avoid being prompted again.  The Cancel button will Cancel the entire remaining replaces.


View Context

This window allows you to view and change (in the registered version) the lines around where the search string was found.

The number of lines before and after is configurable in the Options dialog (see the Number of Lines to View field).

Note that you can perform the usual editing operations in this field by using the keyboard as follows:

Copy - Ctrl+C

Paste - Ctrl+V

Undo - Ctrl+Z(last operation only)

Save button

The changes will be made (registered version only).

Cancel button

The changes will not be made.

Page Up button

Will display the block of lines above the current block.

Page Down button

Will display the block of lines above the current block.


Ordering Information

As part of the registration, you will also receive free updates and customer support (by E-MAIL) for a year.   Updates are sent to registered customers quarterly.  They incorporate your suggestions so please send them.  If you have problems receiving the program or need customer support, contact us directly by E-MAIL at 102372.2530@compuserve.com.  Quantity discounts are listed on the WWW at: http://home.sprynet.com/sprynet/funduc or http://ourworld.compuserve.com/homepages/funduc.

•	Ordering by check:  To order by check send this order form and a check for $20 (+$3 if you want a diskette mailed) to Funduc  Software Inc., P.O. Box 530904 Livonia, MI 48153.   Please allow 7-10 days for mail to reach you, then contact us by E-MAIL if you did not receive the program. To print this order form, click on Print Topic in the File pull-down menu or print the ORDER.TXT file. Payments must be in US dollars drawn on a US bank or international postal money order in US dollars.

•	CompuServe subscribers may register by typing GO SWREG and using the Registration ID 7964 (the cost is $23/user due to CompuServe charges).   CompuServe orders are filled by E-MAIL within 24-48 hours regardless of delivery method selected.  Therefore please check you CompuServe mail a day or two after ordering.

•	You can also register by using your credit card and a secure Web browser (such as Internet Explorer or Netscape) from the URL: http://home.sprynet.com/sprynet/funduc or http://ourworld.compuserve.com/homepages/funduc. To register by Fax, call: (813) 526-2924.  Specify order is for Search and Replace. The cost through this option is $25/user + $3-$5S&H if you want a diskette mailed (E-MAIL delivery is free). If you want, you can call (813)526-3772.  This option is more expensive(due to extra charges), but you can get the program within 2 business days(if your mail system can receive MIME attachments).

Please check one:	__ E-MAIL(please include your address)
	__ 3.5" Disk (please add $3 or $5 for S&H below)
Search and Replace for Windows  ____    copies at $20 each	_______
Michigan residents add 6% sales tax	_______
For snail mail delivery (3.5" disk) in the United States  add $3.00 or $5.00 for  overseas	_______
Total payment	__________

Prices subject to change without notice.

            Name: _______________________Date:___________

         Company: _______________________________________

         Address: _______________________________________

City, State, Zip: _______________________________________

         Country: _______________________________________

       Day Phone: _________________Eve:__________________

                 FAX:__________________

Electronic Mail address: ________________________________

How did you hear about Search and Replace for Windows?

__________________________

Comments:


Licensing Information
License Information

Copyright/License/Warranty

For ordering information, see the section Ordering Information.

Search and Replace for Windows Copyright (c) 1993-1996 by Funduc Software Inc. - All rights reserved.

License Agreement and Warranty Disclaimer

You should carefully read the following terms and conditions before using this software.  Use of this software indicates your acceptance of these terms and conditions.  If you do not agree with them, do not use the software.

Shareware Version

You are hereby licensed to: use the Shareware Version of the software for a 21 day evaluation period; make as many copies of the Shareware version of this software and documentation as you wish; give exact copies of the original Shareware version to anyone; and distribute the Shareware version of the software and documentation in its unmodified form via electronic means.  There is no charge for any of the above.

You are specifically prohibited from charging, or requesting donations, for any such copies, however made; and from distributing the software and/or documentation with other products (commercial or otherwise) without prior written permission.

Unregistered use of Search and Replace for Windows after the 21-day evaluation period is in violation of federal copyright laws.

Evaluation and Registration

This is not free software.  This license allows you to use this software for evaluation purposes without charge for a period of 21 days.  If you use this software after the 21 day evaluation period a registration fee is due (see Ordering Information).

Customer support can be obtained by visiting our homepage at http://home.sprynet.com/sprynet/funduc or http://ourworld.compuserve.com/homepages/funduc or by E-MAIL (102372.2530@compuserve.com).

One registered copy of Search and Replace for Windows may be dedicated to a single person who uses the software on one or more computers or to a single workstation used by multiple people.

You may access the registered version of Search and Replace for Windows through a network, provided that you have obtained individual licenses for the software covering all workstations that will access the software through the network.

Governing Law

This agreement shall be governed by the laws of the State of Michigan.

Disclaimer of Warranty

This software and the accompanying files are sold "as is" and without warranties as to performance of merchantability or any other warranties whether expressed or implied.  In particular, there is no warranty for the string Replacing feature.

Good data processing procedure dictates that any program be thoroughly tested with non-critical data before relying on it.  The user must assume the entire risk of using the program.  Any liability of the seller will be limited exclusively to product replacement or refund of purchase price.


Select Path dialog
Select Path dialog box

Directories

Select the directory where the files you want to search reside.

Drive

Select the drive where the files you want to search reside.

OK button

The path you selected will be used.

Cancel button

The path will not be changed.


File Open dialog
File Open/Select Viewer dialog box

File Name

Select or type the name of the document you want to open. This box lists documents with the filename extension selected in the List Files Of Type box. To see a list of files with a particular extension, type an asterisk (*), a period, and the three-character extension, and then press ENTER. To see files with more than one filename extension, type a semicolon (;), a second asterisk (*), a period, and another three-character extension. For example, if you

want to see all files with the .TXT extension and all files with the .INI extension, type *.txt;*.ini.

List files of Type

Select the type of files you want to see in the File Name list.

Directories

Select the directory where the files you want reside.

Drive

Select the drive where the files you want reside.

OK button

The File you selected will be used.

Cancel button

The File will not be used.


File Save dialog
File Save dialog box

File Name

To save a document with a new name, in a different file format, or in a different location, type a new filename.  To save a document with an existing filename, select the name in the list or type the current name.

Save files of Type

Select the type of files you want to see in the File Name list.

Directories

Select the directory where the files you want to search reside.

Drive

Select the drive where the files you want to search reside.

OK button

The File you selected will be used.

Cancel button

The File will not be used.


Color dialog

Basic Colors

Basic colors is a palette of the preset colors available for your screen.

Click the color you want to use.

Or TAB to the color you want and press the SPACE bar to select it.

Custom Colors

Custom color can be set by the user by using the Define Custom Colors Button.

They are selected the same way Basic Colors are.

Define Custom Colors Button

The changes will be made.

OK button

The changes will not be made.

Cancel button

The path will not be changed.


No Help Available

No help is available for this area of the window.


No Help Available

No help is available for this message box.