자세한 내용은
http://www.robvanderwoude.com/regedit.html
링크를 참조하세요.^^
_________________________________________________
REGEDIT
| Warning: | Before tweaking the registry, make sure you have a full backup of your system. If anything goes wrong, you may end up losing all your data and reinstalling Windows. As Microsoft states it, editing the registry "... is not supported by Microsoft. Use this method at your own risk." |
Windows NT (and 2000) users, read Microsoft's
Knowledge
Base article
Q318149
to learn
How
to Maintain Current Registry Backups in Windows NT 4.0 and
Windows 2000.
General Syntax:
- GUI mode:
- REGEDIT.EXE
- Import (merge) a .REG file:
- REGEDIT.EXE [ /L:system or /R:user ]
[ /S ] importfile.REG - Export to a (.REG) file:
- REGEDIT.EXE [ /L:system or /R:user ]
/E exportfile "registry_key" - Compress the registry (Windows 98 only):
- REGEDIT.EXE [ /L:system or /R:user ] /C
Parameters:
- importfile.REG
- .REG file to be imported (or "merged")
- exportfile.REG
- File name the information should be written to
- "registry_key"
- Registry key to be exported, e.g. "HKEY_CLASSES\ROOT\*\shell"
- /S
- Silent, i.e. hide confirmation box when importing files
- /E
- Export registry file
- /L:system
- Specify the location of the system.dat to use
- /R:user
- Specify the location of the user.dat to use
- /C
- Compress [filename] (Windows 98 only)
Adding and editing (importing) registry entries
Adding items to the registry requires a *.REG file:
REGEDIT [ /S ] addsome.REGThe /S swith is optional, it skips the message dialogs
before and after the import of the *.REG file.
Removing registry entries
To remove an entire "tree" from the registry using REGEDIT
and a .REG file, just add a minus sign before the tree name:
REGEDIT4[-HKEY_CURRENT_USER\DummyTree]
will remove the entire tree "DummyTree".
To remove an individual item from the registry, place the
minus sign after the equal sign:
REGEDIT4[HKEY_CURRENT_USER\DummyTree]
"ValueToBeRemoved"=-
Reading (exporting) from the registry
REGEDIT's /E switch can be used to export a registry key:
REGEDIT /E d:\path\filename.REG "HKEY_XXXX\Whatever Key"This will write the registry key "HKEY_XXXX\Whatever Key" and its
subkeys to a file named d:\path\filename.REG