Reg command copy in Windows
To copy an entry to the location specified on the local PC or the remote computer we will use the reg copy command.To learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example TipsMake.com has compiled below.
Syntax reg copy command
reg copy [/ s] [/ f]
Parameter reg copy command
Parameters
Describe
Specify the full path of the first subkey to be compared.To specify a remote computer, attach the computer name (in the format) as part of the KeyName parameter.In addition, parameter KeyName1 must also include a valid root key.Valid root keys for local computers are: HKLM, HKCU, HKCR, HKU and HKCC.If the remote computer is specified, valid root keys will be HKLM and HKU.
Specify the full path of the first subkey to be compared.To specify a remote computer, attach the computer name (in the format) as part of the KeyName parameter.In addition, the parameter KeyName2 must also include a valid root key.Valid root keys for local computers are: HKLM, HKCU, HKCR, HKU and HKCC.If the remote computer is specified, valid root keys will be HKLM and HKU.
/S
Copy all subkeys and entries according to the specified subkey.
/ f
Copy the subkey without prompting for confirmation.
/?
Show help at thecommand prompt.
Parameter reg copy command
Reg does not require confirmation when copying the subkey.
The following table lists the return values for the reg copy command :
Value
Meaning
0
Success
first
Failure
Example reg copy command
To copy all the subkeys and values in the key named MyApp into the key named SaveMyApp, enter:
REG COPY HKLMSoftwareMyCoMyApp HKLMSoftwareMyCoSaveMyApp / s
To copy all the values in the key named MyCo on the computer named ZODIAC into the key named MyCo1 on the local computer, enter:
REG COPY ZODIACHKLMSoftwareMyCo HKLMSoftwareMyCo1
See more:
- The qprocess command in Windows
- Qappsrv (query termserver) command in Windows
- The quser (query user) command in Windows
- The pubprn command and the pushprinterconnections command in Windows
You should read it
- How to copy and paste on Mac
- How to use the Install command to copy files in Linux
- How to use Xcopy command in Command Prompt
- How to copy (and paste) files and folders from the Linux command line
- How to enable Copy / Paste in Windows 10 Command Prompt
- Textify tool copies all content on Windows
- Fix error of Copy Paste command not working in Word, Excel (2007, 2010)
- how to fix error cannot copy data in Excel files
May be interested
- Textify tool copies all content on Windowsnormally, to copy a certain content, you still use copy or ctrl + c. however, this command only works for the text content, but for the types of bulletin boards and boxes. voice, ... we can't use this copy.
- Sub-commands in nslookup Windows command (Part 2)nslookup set all command, nslookup set class, nslookup set d2, alias nslookup set debug, nslookup set domain, nslookup set port, and nslookup set querytype in windows
- Sub-commands in the nslookup Windows command (Part 1)nslookup command exit, finger nslookup, nslookup help, nslookup ls, nslookup lserver, nslookup root, commandlooklook server, nslookup set in windows
- Sub-commands in nslookup Windows command (Part 3)nslookup set recurse, nslookup set retry, nslookup set root, nslookup set search, nslookup set srchlist, nslookup set timeout, nslookup set type, nslookup set vc, and nslookup view in windows
- How to Copy Files in Command Promptthis wikihow teaches you how to use windows' command prompt program to copy a file or folder. find out your file's location. you'll need the file's location—also known as a 'directory'—in order to tell command prompt where to look for the f...
- Command at in Windowsthe at command schedules commands and programs to run on a computer at a specified time with a specific date. you can only use the command at when schedule service is running.
- How to Find Windows 7 Product Keytoday's tipsmake will show you how to find the product key to install an original copy of windows 7 on your computer. a product key is a 25-character code required when activating windows. you may need this code during a complete reinstallation of windows, or to activate your copy after the installation is complete. if your computer has an official copy of windows 7 pre-installed, the code may be on the coa (certificate of authenticity) label. if windows 7 is installed and activated, you can use command prompt or a third-party application to find the product key.
- Set command in Windowsthe set command helps show, set or remove cmd.exe environment variables.
- how to fix error cannot copy data in Excel filesin the process of using the computer, there will be times when we encounter an error that we cannot copy data in excel. the cause may be that the computer has a virus, the clipboard is not working, and therefore the copy command (ctrl + c) and the paste command (ctrl + v) are not working.
- Del command in Windowsthe del command deletes one or more files. this command is the same as the eraser command.