Author: NetworkAdminKB.com
Created: 2010-07-21
Modified: 2010-07-28
Version: 1.2.9
The Serch4Txt utility can be used to do any of the following
1) Search and …
a. Save multiple strings from a Target file to a new output file.
b. Delete multiple strings from a Target file to a new output file.
c. Replace multiple strings from a Target file to a new output file.
2) Searches can be Case Sensitive or Insensitive
3) Display verbose output to the console about matches.
Requirements and Limitations
1) Permissions required
a. Permissions to read the target file and write an output file.
2) VB6 Runtime may be required on Windows 2000 or earlier OS.
Syntax:
Search4Txt /s=stringfile /t=targetfile /o=outputfile {/sr | /ss | /sd}
[/c] [/v]
Purpose: Search and replace/save/delete multiple strings from a single file.
/s=stringfile The replace/save/delete strings.
/t=targetfile The file to have the replace/save/delete performed against.
/o=outputFile Specify the filename to direct output to.
Choose one of the following actions to take.
/sr Search and Replace (search;replace)
/ss Search and Save (search)
/sd Search and Delete (search)
Optional Parameters
/c Case Sensitive Searches
/v Display output about matches to screen (verbose).
Exmamples:
Search4Txt /s=replace.txt /t=mydoc.txt /o=output.txt /sr
replace.txt
search;search and replace this string
find me;replace me
comma, in string;no comma in string
Download Search4Txt
Article ID: 255, Created On: 9/18/2011, Modified: 9/18/2011