To delete the registry entry named AppInfo within the MySubkey subkey, use the following example: REG DELETE HKLM\Software\MySubkey /v AppInfo /f To delete the subkey named MySubkey on a remote computer, use the following example: REG DELETE \\ComputerName\HKLM\Software\MySubkey /f To add a subkey named MySubkey under HKEY_LOCAL_MACHINE\Software, use the following example: REG ADD HKLM\Software\MySubkey /d Data: Specifies the data for the new entry in the registry.The default separator is \0 if it is not specified. /s Separator: Defines the character you use to separate multiple instances of data when the REG_MULTI_SZ data type is specified and you need to add more than one entry./f: Adds or deletes registry content without prompting for confirmation./t Type: Specifies the type of registry entries./ve: Defines if you're adding or deleting an entry that has a null value./v ValueName: Specifies the name for the registry key to be added or deleted.If you're trying to edit the registry on a remote computer, you can only use these shortcuts: HKLM and HKU. Valid registry key shortcuts include HKLM, HKCU, HKCR, HKU, and HKCC. KeyName: Defines the path to the subkey or entry.While there a long list of possible command combinations, below we'll be listing the most useful commands to get started using reg.exe with Command Prompt.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |