Re: [問題] reg值的匯出 批次檔的寫法

看板Trace (軟體操作討論)作者 (ヨウキな昼間のオバケ)時間20年前 (2006/03/30 22:31), 編輯推噓2(200)
留言2則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《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)

03/30 23:21, , 1F
第一個就是批次檔的寫法了吧! 感謝感謝 叩首!
03/30 23:21, 1F

04/01 09:16, , 2F
試了一下 CONSOLE可以這樣寫 但是在批次理要用REG.EXE
04/01 09:16, 2F
文章代碼(AID): #14A-k_QJ (Trace)
文章代碼(AID): #14A-k_QJ (Trace)