Need to save some reg file key data into a text file I can then manipulate. Trouble is regedit only saves as a .reg file even if you tell it save as text file. The resulting .reg file cannot be searched, grepped, or otherwise manipulated as text. Ideas ?
Asked
Active
Viewed 835 times
2 Answers
0
Use the command line: START /W REGEDIT /E file.txt %REG_PATH%
Credits to @npocmaka for original answer
sportzpikachu
- 141
0
in a .bat file (batch), use :
regedit /e info.txt "HKEY_CLASSES_ROOT*\shell\Windows.OpenWith"
replace HKEY_CLASSES_ROOT*\shell\Windows.OpenWith with your key
Or, got to control panel -> indexing options -> advanced, then click on more information about indexing, to learn how to add a new extension to the search engine.
catandgrepthem without issue. – SHawarden Feb 13 '20 at 00:55.regfiles are plain text?Control Panel (All Iems) > Indexing Options > Advanced > FIle Types. Select.reg& clickIndex Properties and File Contents. – Keith Miller Feb 13 '20 at 09:19