------------------------------------------------------------------------------ Opalis Grep_Reg: Recursively search for a string on the Windows NT/95 registry ------------------------------------------------------------------------------ This is a little utility I wrote for my personal use at Opalis. Replace and network functions will be added in the future if you ask for it ! Syntax: grep_reg searchstring [options] ------ Options: /Q or /q = quiet mode, do not display hive totals, display hive ------- name on each line (default = display hive totals) /C or /c = case sensitive search (default = insensitive) /K or /k = search string in values, value names and key names (default = search only on values data) /L or /l = search only on HKEY_LOCAL_MACHINE hive (default = search on the four hives) The program prints value names and data found and returns the number of values found or -1 in case of an error. Remarks: - Enclose search string between quotes if there's a space in it. -------- - For better display results, use a Command Prompt screen width of 125 characters. - Use redirection symobls (> and >>) to send results on a file. - If you need to automate something on your Windows NT system, try OpalisRobot for Windows NT ;-) You can freely use and distribute Grep_Reg with all its files (grep_reg.exe, grep_reg.txt and file_id.diz) Thanks to Gilles Vollant for Windows95 testing. Suggestions, bugs, comments and hellos to: ------------------------------------------ Opalis - Laurent Domenech 45, bld du cdt Charcot 92200 Neuilly sur Seine France fax: +33 1 47 45 58 58 email: 71524.27@compuserve.com Legal notice ------------ This program is supported only if used with our main product: OpalisRobot for Windows NT grep_reg may not be distributed as part of any commercial product without a prior licence agreement. Licenses to incorporate the source into commercial products are available. grep_reg may be reviewed for any publication, whether in hard copy or electronic form, without the author's prior permission. You may distribute it to anyone, and you may place it on any archive or bulletin board system. You may not charge anyone for it other than a reasonable fee to cover your distribution costs. --------------------------------------------------------------------------------- The following section is mandatory, in a few words: use grep_reg at your own risk and be cautious when you edit the registry --------------------------------------------------------------------------------- - You may distribute the software as you wish with all its files. PARTIAL DISTRIBUTION IS NOT ALLOWED. Any copy made by you shall be subject to this legal notice and shall contain all of Opalis's notices regarding copyrights, trademarks and other proprietary rights as contained in the Software originally provided to you. - Title, ownership rights, and intellectual property rights in and to the Software and Documentation shall remain in Opalis and/or its suppliers. This Agreement does not include the right to sublicense the Software and is personal to you and therefore may not be assigned (by operation of law or otherwise) or transferred without the prior written consent of Opalis. - DISCLAIMER OF WARRANTY. Since the Software is provided free of charge, the Software is provided on an "AS IS" basis, without warranty of any kind, including without limitation the warranties of merchantability, fitness for a particular purpose and non-infringement. The entire risk as to the quality and performance of the Software is borne by you. Should the Software prove defective, you and not Opalis assume the entire cost of any service and repair. This disclaimer of warranty constitutes an essential part of the agreement. - LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, TORT, CONTRACT, OR OTHERWISE, SHALL OPALIS OR ITS SUPPLIERS BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES. IN NO EVENT WILL OPALIS BE LIABLE FOR ANY DAMAGES IN EXCESS OF OPALIS'S LIST PRICE FOR A LICENSE TO THE SOFTWARE, EVEN IF OPALIS SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. Grep_Reg: Copyright (c) 1995 Opalis