作者KarasuTW (ヨウキな昼间のオバケ)
看板Trace
标题Re: [问题] reg值的汇出 批次档的写法
时间Thu Mar 30 22:31:46 2006
※ 引述《ultraGao (商用车才是阿伯的王道)》之铭言:
: 我想要问的是
: 我如果想要备份档案和汇出某部分的登录值
: 在批次档内如何表达呢
: 档案的备份我知道是copy
: 但是 备份登录值的写法呢
: 例如我要备份 HKEY_CURRENT_USER\Software\Burn4Free 下的所有机码
: 该怎麽办呢?
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 AppBkUp.hiv
将 hive MyApp 储存到目前资料夹的 AppBkUp.hiv 档案
要存普通的 .reg 档的话
Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved
REG EXPORT KeyName FileName
Keyname ROOTKEY\SubKey (local machine only)
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey 在选取的 ROOTKEY 之下的登录机码的完整名称
FileName 要汇出的磁片档案名称
范例:
REG EXPORT HKLM\Software\MyCo\MyApp AppBkUp.reg
将所有子机码和机码 MyApp 的值汇出到档案 AppBkUp.reg
--
And I began to wonder... the dream I can't remember.
When I wake up in the morning, where in the world did they go?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.170.28.217
※ 编辑: KarasuTW 来自: 218.170.28.217 (03/30 22:33)
1F:推 ultraGao:第一个就是批次档的写法了吧! 感谢感谢 叩首! 03/30 23:21
2F:推 ultraGao:试了一下 CONSOLE可以这样写 但是在批次理要用REG.EXE 04/01 09:16