home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Secrets (4th Edition) / Windows95Secrets4thEdition.iso / registry / grep_reg / grep_reg.txt < prev    next >
Encoding:
Text File  |  1995-12-27  |  5.0 KB  |  96 lines

  1.  
  2. ------------------------------------------------------------------------------
  3. Opalis Grep_Reg: Recursively search for a string on the Windows NT/95 registry
  4. ------------------------------------------------------------------------------
  5.  
  6. This is a little utility I wrote for my personal use at Opalis.
  7. Replace and network functions will be added in the future if you ask for it !
  8.  
  9.  
  10. Syntax:  grep_reg searchstring [options]
  11. ------
  12.  
  13. Options: /Q or /q = quiet mode, do not display hive totals, display hive 
  14. -------             name on each line (default = display hive totals)
  15.          /C or /c = case sensitive search 
  16.                     (default = insensitive)
  17.          /K or /k = search string in values, value names and key names 
  18.                     (default = search only on values data)
  19.          /L or /l = search only on HKEY_LOCAL_MACHINE hive 
  20.                     (default = search on the four hives)
  21.  
  22. The program prints value names and data found and returns the number of values found 
  23. or -1 in case of an error.
  24.  
  25. Remarks:    - The order of arguments is important.
  26. --------    - Enclose search string between quotes if there's a space in it.
  27.             - For better display results, use a Command Prompt screen width of 125 characters.
  28.             - Use redirection symobls (> and >>) to send results on a file.
  29.             - If you need to automate something on your Windows NT system, 
  30.               try OpalisRobot for Windows NT ;-) (Web site: http://www.opalis.com)
  31.  
  32. Contents:
  33. ---------
  34.  
  35. grep_reg.txt: this file
  36. file_id.diz:  description
  37. grep_reg.exe: Windows NT Intel and Windows95 executable
  38. grpreg_a.exe: Windows NT Alpha executable
  39. grpreg_m.exe: Windows NT Mips executable
  40.  
  41.  
  42. You can freely use and distribute Grep_Reg with all its files (grep_reg.exe, 
  43. grep_reg.txt and file_id.diz)
  44. Thanks to Gilles Vollant for Windows95 testing.
  45.  
  46.  
  47. Suggestions, bugs, comments and hellos to:
  48. ------------------------------------------
  49.  
  50. Opalis - Laurent Domenech
  51. 45, bld du cdt Charcot
  52. 92200 Neuilly sur Seine
  53. France
  54.  
  55. fax:   +33 1 47 45 58 58
  56. email: laurent@opalis.com
  57.  
  58.  
  59. Legal notice
  60. ------------
  61. This program is supported only if used with our main product: OpalisRobot for Windows NT
  62.  
  63. grep_reg may not be distributed as part of any commercial product without a prior licence agreement. 
  64. Licenses to incorporate the source into commercial products are available.
  65. grep_reg may be reviewed for any publication, whether in hard copy or electronic form, without the 
  66. author's prior permission.
  67. You may distribute it to anyone, and you may place it on any archive or bulletin board system. 
  68. You may not charge anyone for it other than a reasonable fee to cover your distribution costs.
  69.  
  70. ---------------------------------------------------------------------------------
  71. The following section is mandatory, in a few words: use grep_reg at your own risk 
  72. and be cautious when you edit the registry
  73. ---------------------------------------------------------------------------------
  74.  
  75. - You may distribute the software as you wish with all its files. PARTIAL DISTRIBUTION IS NOT ALLOWED. 
  76. Any copy made by you shall be subject to this legal notice and shall contain all of Opalis's notices regarding 
  77. copyrights, trademarks and other proprietary rights as contained in the Software originally provided to you. 
  78. - Title, ownership rights, and intellectual property rights in and to the Software and Documentation shall remain in 
  79. Opalis and/or its suppliers. This Agreement does not include the right to sublicense the Software and is personal 
  80. to you and therefore may not be assigned (by operation of law or otherwise) or transferred without the prior
  81. written consent of Opalis.  
  82. - DISCLAIMER OF WARRANTY.  Since the Software is provided free of charge, the Software is provided on an "AS IS" 
  83. basis, without warranty of any kind, including without limitation the warranties of merchantability, fitness for a 
  84. particular purpose and non-infringement.  The entire risk as to the quality and performance of the Software is borne 
  85. by you. Should the Software prove defective, you and not Opalis assume the entire cost of any service and repair. 
  86. This disclaimer of warranty constitutes an essential part of the agreement. 
  87. - LIMITATION OF LIABILITY.  UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, TORT, CONTRACT, OR OTHERWISE, SHALL 
  88. OPALIS OR ITS SUPPLIERS BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL 
  89. DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE 
  90. OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES.  IN NO EVENT WILL OPALIS BE LIABLE FOR ANY DAMAGES 
  91. IN EXCESS OF OPALIS'S LIST PRICE FOR A LICENSE TO THE SOFTWARE, EVEN IF OPALIS SHALL HAVE BEEN INFORMED OF THE POSSIBILITY 
  92. OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.  THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR 
  93. DEATH OR PERSONAL INJURY TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION.  
  94.  
  95. Grep_Reg: Copyright (c) 1995 Opalis
  96.