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 원격 컴퓨터의 이름 - 생략하면 기본값이 현재 컴퓨터가 됩니다.
원격 컴퓨터에서는 HKLM과 HKU만 사용할 수 있습니다.
FullKey ROOTKEY\SubKey
ROOTKEY
[ HKLM | HKCU | HKCR | HKU | HKCC
] SubKey 선택한 ROOTKEY 아래에 있는 레지스트리 키의 전체 이름
/s 모든 하위 키와 값을 뭘聆爛求?
/f 확인 절차 없이 강제로 복사합니다.
예:
REG COPY HKLM\Software\MyCo\MyApp HKLM\Software\MyCo\SaveMyApp
/s
MyApp 키 아래에 있는 모든 하위 키와 값을 SaveMyApp 키로 복사합니다.
REG COPY
EXAMPLE
Add BINARY to
D:\SoftwareOK>REG ADD HKCU\Software\TestFolder /v TestVal /t REG_BINARY /d ffccdd
then COPY
D:\SoftwareOK>REG COPY HKCU\Software\TestFolder HKCU\Software\TestFolderCopy
reg compare
C:\WINDOWS>REG SAVE /?
Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved
REG SAVE KeyName FileName
KeyName ROOTKEY\SubKey
ROOTKEY
[ HKLM | HKCU | HKCR | HKU | HKCC
] SubKey 선택한 ROOTKEY 아래에 있는 레지스트리의 전체 이름
FileName 저장할 디스크 파일 이름. 경로를 지정하지 않으면
호출 중인 프로세스의 현재 폴더에 파일을 만듭니다.
예:
REG SAVE HKLM\Software\MyCo\MyApp
C:\WINDOWS>REG LOAD /?
Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved
REG LOAD KeyName FileName
KeyName ROOTKEY\SubKey (로컬 컴퓨터만)
ROOTKEY
[ HKLM | HKU
] SubKey 하이브 파일을 로드할 키 이름. 새 키를 만듭니다.
FileName 로드할 하이브 파일 이름.
REG SAVE를 사용하여 이 파일을 만들어야 합니다.
예:
REG LOAD HKLM\TempHive TempHive