What can the command reg ADD /??


 
ColorConsole [Version 1.3.3000]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS>REG ADD /?

Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved


REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f]

 KeyName  [\\Machine\]FullKey
          Machine  Name of remote machine - omitting defaults to the current
                   machine Only HKLM and HKU are available on remote machines
          FullKey  ROOTKEY\SubKey
          ROOTKEY  [ HKLM | HKCU | HKCR | HKU | HKCC ]
          SubKey   The full name of a registry key under the selected ROOTKEY

 /v       The value name, under the selected Key, to add

 /ve      adds an empty value name <no name> for the key

 /t       RegKey data types
          [ REG_SZ    | REG_MULTI_SZ  | REG_DWORD_BIG_ENDIAN    |
            REG_DWORD | REG_BINARY    | REG_DWORD_LITTLE_ENDIAN |
            REG_NONE  | REG_EXPAND_SZ ]
          If omitted, REG_SZ is assumed

 /s       Specify one charactor that you use as the separator in your data
          string for REG_MULTI_SZ. If omitted, use "\0" as the separator

 /d       The data to assign to the registry ValueName being added

 /f       Force overwriting the existing registry entry without prompt

Examples:

 REG ADD \\ABC\HKLM\Software\MyCo
   Adds a key HKLM\Software\MyCo on remote machine ABC

 REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead
   Adds a value (name: Data, type: REG_BINARY, data: fe340ead)

 REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail
   Adds a value (name: MRU, type: REG_MUTLI_SZ, data: fax\0mail\0\0)

 REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d %%systemroot%%
   Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%)
   Notice:  Use the double percentage ( %% ) inside the expand string





EXAMPLE
Add BINARY to  [TestVal] in [HKLM\Software\TestFolder]

D:\SoftwareOK>REG ADD HKLM\Software\TestFolder /v TestVal /t REG_BINARY /d ffccdd



C:\WINDOWS>REG DELETE /?

Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved


REG DELETE KeyName [/v ValueName | /ve | /va] [/f]

 KeyName    [\\Machine\]FullKey
   Machine  Name of remote machine - omitting defaults to the current machine
            Only HKLM and HKU are available on remote machines
   FullKey  ROOTKEY\SubKey
   ROOTKEY  [ HKLM | HKCU | HKCR | HKU | HKCC ]
   SubKey   The full name of a registry key under the selected ROOTKEY
 ValueName  The value name, under the selected Key, to delete
            When omitted, all subkeys and values under the Key are deleted
 /ve        delete the value of empty value name <no name>
 /va        delete all values under this key
 /f         Forces the deletion without propmt

Examples:

 REG DELETE HKLM\Software\MyCo\MyApp\Timeout
   Deletes the registry key Timeout and its all subkeys and values

 REG DELETE \\ZODIAC\HKLM\Software\MyCo /v MTU
   Deletes the registry value MTU under MyCo on ZODIAC



C:\WINDOWS>REG COPY /?

Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved


REG COPY KeyName1 KeyName2 [/s] [/f]

 KeyName    [\\Machine\]FullKey
   Machine  Name of remote machine - omitting defaults to the current machine
            Only HKLM and HKU are available on remote machines
   FullKey  ROOTKEY\SubKey
   ROOTKEY  [ HKLM | HKCU | HKCR | HKU | HKCC ]
   SubKey   The full name of a registry key under the selected ROOTKEY
 /s         Copies all subkeys and values
 /f         Forces the copy without propmt

Examples:

 REG COPY HKLM\Software\MyCo\MyApp HKLM\Software\MyCo\SaveMyApp /s
   Copies all subkeys and values under the key MyApp to the key SaveMyApp

 REG COPY \\ZODIAC\HKLM\Software\MyCo HKLM\Software\MyCo1
   Copies all values under the key MyCo on ZODIAC to the key MyCo1
   on the current machine












Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





The command reg ADD /? - Adds a key HKLM\Software\MyCo on remote machine ABC ...

HTTP: ... console/en/132.htm
0.186
11556

The digital Windows desktop clock without lock screen!

 /

What is the difference between Windows 7 Home, Professional, and Ultimate?

 /

Keep the Microsoft Windows PC on or put to sleep!

 /

Easy Turn Off and On the Lock Screen with NoLockScreen.OK!

 /

How to turn off the Aero in Windows 7 to 100 , not disable it?

 /

Windows 10 Desktop not showing, why, what can i do?

 /

How to force the standby, I don't like hibernate on Windows 10, 8.1 Tablet-PC?

 /

Dragging doesn"t work at all when dragging from a network (mapped) drive!

 /

The Group Policy for the Windows 10 Explorer!

 /

Find.Same.Images.OK for Windows find the same or similar images!

 /

HP Laserjet III, 4, 5, Plus, Treiber x64, x32, Windows 10, 8.1, 7!

 /

Problem with path to your own ini file with quotes in QTP!

 /