PDA

View Full Version : Removing entries



jatech
01-04-2000, 12:07 AM
Is there a switch available for the regedit command that will remove the entries of a *.reg file instead of entering these lines into your registry?

jstolz
01-04-2000, 01:33 AM
Here are the regedit command line options:

REGEDIT COMMAND LINE ARGUMENTS

Syntax: regedit.exe [options] [filename]
filename Import .reg file into the registry
Options: /s answer yes to--but don't display--confirmation dialog box when merging/importing .reg files
/e export registry file, e.g. regedit /e filename.reg HKEY_LOCAL_MACHINE\SYSTEM
/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)

Some folks also report using a /D switch (when in MS-DOS mode--not in a DOS window). The /D apparently lets you delete keys--but not specific values within keys.

Regards...