Reg copy Command in Windows Server 2008
In this article I am going to explain about reg copy command in windows server 2008 operating system.
Reg copy command in Windows Server 2008
The reg copy command is used to copy a registry entry to a specified location on the local or remote computer.
Syntax of Reg copy command
reg copy<KeyName1> <KeyName2> [/s] [/f] |
Parameters in Reg copy command
There are the following parameter in the reg copy command:
Parameter |
Description |
KeyName1 |
It specifies the full path of the first subkey to be copy. |
KeyName2 |
It specifies the full path of second subkey destination. |
/s |
It copies all subkey and entries under the specified subkey. |
/f |
It copies the subkey without prompting for confirmation. |
Example of Reg copy command
This example copy all subkey and values under the key DBI.EXE to the key McnSolution.rdp, type:
REG COPY HKLM\Software\MyCo\DBI.EXE HKLM\Software\MyCo\McnSolution.rdp /s |
Output:
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here