廣告廣告
  加入我的最愛 設為首頁 風格修改
首頁 首尾
 手機版   訂閱   地圖  簡體 
您是第 8793 個閱讀者
 
<<   1   2  下頁 >>(共 2 頁)
發表文章 發表投票 回覆文章
  可列印版   加為IE收藏   收藏主題   上一主題 | 下一主題   
yc421206 手機
個人頭像
個人文章 個人相簿 個人日記 個人地圖
初露鋒芒
級別: 初露鋒芒 該用戶目前不上站
推文 x0 鮮花 x19
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片
推文 x0
[檔案工具][討論] INF 編輯方式
DEAR ALL:
請問版上大大們,INF檔該如 ..

訪客只能看到部份內容,免費 加入會員 或由臉書 Google 可以看到全部內容



獻花 x0 回到頂端 [樓 主] From:台灣中華電信 | Posted:2006-09-18 13:13 |
小判
個人頭像
個人文章 個人相簿 個人日記 個人地圖
小人物
級別: 小人物 該用戶目前不上站
推文 x0 鮮花 x6
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

應該跟INI一樣用記事本打開就好了


獻花 x0 回到頂端 [1 樓] From:台灣中華電信 | Posted:2006-09-19 19:20 |
yc421206 手機
個人頭像
個人文章 個人相簿 個人日記 個人地圖
初露鋒芒
級別: 初露鋒芒 該用戶目前不上站
推文 x0 鮮花 x19
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

下面是引用小判於2006-09-19 19:20發表的 :
應該跟INI一樣用記事本打開就好了
小弟知道是使用記事本編輯啦,我是指說如何編輯,如何下達指令....
不是問他怎麼開啟檔案.
還是謝謝你的回答


獻花 x0 回到頂端 [2 樓] From:台灣台灣索尼 | Posted:2006-09-20 00:06 |
莫力思雷靠唄 手機
數位造型
個人文章 個人相簿 個人日記 個人地圖
路人甲
級別: 帳號封鎖 該用戶目前不上站
推文 x0 鮮花 x46
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

請不要把 INF 想成那麼簡易的東西
INF 的內容及功能很多但是你要找到的資料卻很少
因為 INF 的功能使用及常見到的就是這幾類
[DriverVer=mm/dd/yyyy[,x.y.v.z] ] ;版本名稱
[CopyFiles=@filename | file-list-section[,file-list-section] ...] ;檔案複製
[CopyINF=filename1.inf[,filename2.inf]...] ;INF檔案複製
[AddReg=add-registry-section[,add-registry-section]...] ;登錄檔資料新增
[Include=filename1.inf[,filename2.inf]...] ;載入另一檔名INF資料
[Delfiles=file-list-section[,file-list-section]...] ;刪除檔案
[Renfiles=file-list-section[,file-list-section]...] ;檔案更名
[DelReg=del-registry-section[,del-registry-section]...] ;刪除登錄檔資料
[LogConfig=log-config-section[,log-config-section]...] ;紀錄檔LOG設定
[ProfileItems=profile-items-section[,profile-items-section]...] ;Profile 資料更改
[UpdateInis=update-ini-section[,update-ini-section]...] ;修建 AUTOEXEC.BAT、CONFIG.SYS 或其他檔案內容
[RegisterDlls=register-dll-section[,register-dll-section]...] ;如同 REGSRV32.exe 或者 RUNDLL32.exe 功能
[UnregisterDlls=unregister-dll-section[,unregister-dll-section]...] ;;如同 REGSRV32.exe /u 或者 RUNDLL32.exe /u 功能

再者還會依 WINDOWS 不同版本或者平台做不同的安裝方式
[install-section-name] |
[install-section-name.nt] |
[install-section-name.ntx86] |
[install-section-name.ntia64]

比較特別的地方就是他的 DIRID比如
Value Destination Directory
01 SourceDrive:\pathname (the directory from which the INF file was installed)
10 Windows directory
This is equivalent to %windir%.
11 System directory
This is equivalent to %windir%\system32 for NT-based systems, and to %windir%\system for Windows 9x/Me.
12 Drivers directory
This is equivalent to %windir%\system32\drivers for NT-based platforms, and to %windir%\system\IoSubsys on Windows 9x/Me platforms.
17 INF file directory
18 Help directory
20 Fonts directory
21 Viewers directory
23 Color directory (ICM) (not used for installing printer drivers)
24 Root directory of the system disk.
This is the root directory of the disk on which Windows files are installed. For example, if dirid 10 is "C:\winnt", then dirid 24 is "C:\".
25 Shared directory
30 Root directory of the boot disk, also known as "ARC system partition," for NT-based systems. (This might or might not be the same directory as the one represented by dirid 24.)
50 System directory for NT-based operating systems
This is equivalent to %windir%\system (NT-based systems only).

51 Spool directory (not used for installing printer drivers – see Printer Dirids)
52 Spool drivers directory (not used for installing printer drivers)
53 User profile directory
54 Directory where ntldr.exe and osloader.exe are located (NT-based systems only)
55 Print processors directory (not used for installing printer drivers)
-1 Absolute path


Dirid values from 16384 through 32767 are reserved for special shell folders. The following table shows dirid values for these folders:

Value Shell Special Folder
16406 All Users\Start Menu
16407 All Users\Start Menu\Programs
16408 All Users\Start Menu\Programs\Startup
16409 All Users\Desktop
16415 All Users\Favorites
16419 All Users\Application Data
16422 Program Files
16427 Program Files\Common
16429 All Users\Templates
16430 All Users\Documents
很多的 DIRID 繁雜不及被載,甚至也能自己自建 DIRID
可以說是最為簡易的封裝軟體安裝
如果在搭配 IExpress 或 WinRAR 話就相當於軟體封裝了

這有更多的相關資料但是是英文的 http://www.osronline.com/ddkx/i...rmat_7soi.htm
這還有更齊全的但是也是一樣是英文的 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/DevInst_r...42b-4295-ab95-5011ab9d8dbb.xml.asp


[ 此文章被莫力思雷靠唄在2006-09-20 06:03重新編輯 ]


獻花 x0 回到頂端 [3 樓] From:台灣中華電信 | Posted:2006-09-20 01:32 |
adelin 手機
數位造型
個人文章 個人相簿 個人日記 個人地圖
社區建設獎 優秀管理員勳章
頭銜:歡迎至軟體討論區參予討論  ..歡迎至軟體討論區參予討論 ..
版主
級別: 版主 該用戶目前不上站
版區: 軟體推薦, 軟體討論, 程式設計, 電腦教學資源
推文 x15 鮮花 x241
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

這裡有點中文的資料,參考一下吧..
MSDN in Taiwan


搶救受性侵孩子 缺我不行

◎軟體各類問題提問討論歡迎至 數位男女-軟體討論區參與加入討論
軟體討論區各版注意事項已於2006/11/17更新,請撥空閱讀
◎如對版規有其他問題或建議歡迎於問題舉報和意見專用帖提出討論,謝謝..
◎本論壇的運作需要您的支持:現在加入榮譽會員
獻花 x0 回到頂端 [4 樓] From:台灣中華電信 | Posted:2006-09-20 08:40 |
莫力思雷靠唄 手機
數位造型
個人文章 個人相簿 個人日記 個人地圖
路人甲
級別: 帳號封鎖 該用戶目前不上站
推文 x0 鮮花 x46
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

下面是引用adelin於2006-09-20 08:40發表的 :
這裡有點中文的資料,參考一下吧..
MSDN in Taiwan

雖然類似是中文的,但是資料不怎麼齊全
況且他只有舉例 WINDOWS CE
而且還使用在 Visual Studio .NET
不然我就貼這網址了


獻花 x0 回到頂端 [5 樓] From:台灣中華電信 | Posted:2006-09-20 08:59 |
莫力思雷靠唄 手機
數位造型
個人文章 個人相簿 個人日記 個人地圖
路人甲
級別: 帳號封鎖 該用戶目前不上站
推文 x0 鮮花 x46
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

這個範例全是登錄檔的編寫
請使用 CMD 的方式使用
Test.cmd 這是呼叫 INF 的方法
複製程式
@Echo Off
Title="軟體安裝中,請勿關閉此視窗"
Echo. 軟體安裝中
Echo. 請勿關閉此視窗
Echo. 請稍後‧‧‧
Set System32=%SystemRoot%\System32
Set Inf=%SystemRoot%\Inf
%System32%\RunDll32.exe %System32%\advpack.dll,LaunchINFSection %Inf%\RunOnceEx.inf,HFXProA
%System32%\RunDll32.exe iernonce.dll,RunOnceExProcess
Echo. 請稍後‧‧‧
%System32%\RunDll32.exe %System32%\advpack.dll,LaunchINFSection %Inf%\RunOnceEx.inf,HFXProB
%System32%\RunDll32.exe iernonce.dll,RunOnceExProcess
Echo. 請稍後‧‧‧
%System32%\RunDll32.exe %System32%\advpack.dll,LaunchINFSection %Inf%\RunOnceEx.inf,HFXProC
%System32%\RunDll32.exe iernonce.dll,RunOnceExProcess
Echo. 請稍後‧‧‧
%System32%\RunDll32.exe %System32%\advpack.dll,LaunchINFSection %Inf%\RunOnceEx.inf,HFXProD
%System32%\RunDll32.exe iernonce.dll,RunOnceExProcess
Echo. 請稍後‧‧‧
%System32%\RunDll32.exe %System32%\advpack.dll,LaunchINFSection %Inf%\RunOnceEx.inf,UPXProA
%System32%\RunDll32.exe iernonce.dll,RunOnceExProcess

請把這一個 RunOnceEx.inf 複製到 C:\Windows\Inf 底下
複製程式
;[url]http://support.microsoft.com/?kbid=232509[/url]
[Version]
Signature=$CHICAGO$

[HFXProA]
AddReg=HotFixA
[HFXProB]
AddReg=HotFixB
[HFXProC]
AddReg=HotFixC
[HFXProD]
AddReg=HotFixD
[UPXProA]
AddReg=UpdateA
[TWXPro]
AddReg=Tweek

[HotFixA]
HKLM,"%RunOnceEx%",Title,,"Windows XP Professional HotFix"
HKLM,"%HotFix%001",,,"KB893803:Microsoft Windows Installer 3.1"
HKLM,"%HotFix%001",1,,"%24%\SvcPack\KB893803.exe /u /n /z"
HKLM,"%HotFix%002",,,"KB898461:Windows XP 更新"
HKLM,"%HotFix%002",1,,"%24%\SvcPack\KB898461.exe /u /n /z"
HKLM,"%HotFix%003",,,"KB873339:Windows XP 安全性更新"
HKLM,"%HotFix%003",1,,"%24%\SvcPack\KB873339.exe /u /n /z"
HKLM,"%HotFix%004",,,"KB886185:Windows XP 重大更新"
HKLM,"%HotFix%004",1,,"%24%\SvcPack\KB886185.exe /u /n /z"
HKLM,"%HotFix%005",,,"KB885836:Windows XP 安全性更新"
HKLM,"%HotFix%005",1,,"%24%\SvcPack\KB885836.exe /u /n /z"
HKLM,"%HotFix%006",,,"KB888302:Windows XP 安全性更新"
HKLM,"%HotFix%006",1,,"%24%\SvcPack\KB888302.exe /u /n /z"
HKLM,"%HotFix%007",,,"KB887472:Windows Messenger 安全性更新"
HKLM,"%HotFix%007",1,,"%24%\SvcPack\KB887472.exe /u /n /z"
HKLM,"%HotFix%008",,,"KB891781:Windows XP 安全性更新"
HKLM,"%HotFix%008",1,,"%24%\SvcPack\KB891781.exe /u /n /z"
HKLM,"%HotFix%009",,,"KB888113:Windows XP 安全性更新"
HKLM,"%HotFix%009",1,,"%24%\SvcPack\KB888113.exe /u /n /z"
HKLM,"%HotFix%010",,,"KB887742:Windows XP 更新"
HKLM,"%HotFix%010",1,,"%24%\SvcPack\KB887742.exe /u /n /z"
HKLM,"%HotFix%011",,,"KB886677:Windows XP 更新"
HKLM,"%HotFix%011",1,,"%24%\SvcPack\KB886677.exe /u /n /z"
HKLM,"%HotFix%012",,,"KB885835:Windows XP 安全性更新"
HKLM,"%HotFix%012",1,,"%24%\SvcPack\KB885835.exe /u /n /z"
HKLM,"%HotFix%013",,,"KB885250:Windows XP 安全性更新"
HKLM,"%HotFix%013",1,,"%24%\SvcPack\KB885250.exe /u /n /z"
HKLM,"%HotFix%014",,,"KB890046:Windows XP 安全性更新"
HKLM,"%HotFix%014",1,,"%24%\SvcPack\KB890046.exe /u /n /z"
HKLM,"%HotFix%015",,,"KB896422:Windows XP 安全性更新"
HKLM,"%HotFix%015",1,,"%24%\SvcPack\KB896422.exe /u /n /z"
HKLM,"%HotFix%016",,,"KB896428:Windows XP 安全性更新"
HKLM,"%HotFix%016",1,,"%24%\SvcPack\KB896428.exe /u /n /z"
HKLM,"%HotFix%017",,,"KB901214:Windows XP 安全性更新"
HKLM,"%HotFix%017",1,,"%24%\SvcPack\KB901214.exe /u /n /z"
HKLM,"%HotFix%018",,,"KB890859:Windows XP 安全性更新"
HKLM,"%HotFix%018",1,,"%24%\SvcPack\KB890859.exe /u /n /z"
HKLM,"%HotFix%019",,,"KB900930:Windows XP 更新"
HKLM,"%HotFix%019",1,,"%24%\SvcPack\KB900930.exe /u /n /z"
HKLM,"%HotFix%020",,,"KB896358:Windows XP 安全性更新"
HKLM,"%HotFix%020",1,,"%24%\SvcPack\KB896358.exe /u /n /z"
[HotFixB]
HKLM,"%RunOnceEx%",Title,,"Windows XP Professional HotFix"
HKLM,"%HotFix%021",,,"KB893756:Windows XP 安全性更新"
HKLM,"%HotFix%021",1,,"%24%\SvcPack\KB893756.exe /u /n /z"
HKLM,"%HotFix%022",,,"KB899591:Windows XP 安全性更新"
HKLM,"%HotFix%022",1,,"%24%\SvcPack\KB899591.exe /u /n /z"
HKLM,"%HotFix%023",,,"KB899587:Windows XP 安全性更新"
HKLM,"%HotFix%023",1,,"%24%\SvcPack\KB899587.exe /u /n /z"
HKLM,"%HotFix%024",,,"KB896423:Windows XP 安全性更新"
HKLM,"%HotFix%024",1,,"%24%\SvcPack\KB896423.exe /u /n /z"
HKLM,"%HotFix%025",,,"KB894391:Windows XP 更新"
HKLM,"%HotFix%025",1,,"%24%\SvcPack\KB894391.exe /u /n /z"
HKLM,"%HotFix%026",,,"Windows Media Player 10"
HKLM,"%HotFix%026",1,,"%24%\SvcPack\WMP10.exe /q:u /r:n"
HKLM,"%HotFix%027",,,"KB902400:Windows XP 安全性更新"
HKLM,"%HotFix%027",1,,"%24%\SvcPack\KB902400.exe /u /n /z"
HKLM,"%HotFix%028",,,"KB899589:Windows XP 安全性更新"
HKLM,"%HotFix%028",1,,"%24%\SvcPack\KB899589.exe /u /n /z"
HKLM,"%HotFix%029",,,"KB901017:Windows XP 安全性更新"
HKLM,"%HotFix%029",1,,"%24%\SvcPack\KB901017.exe /u /n /z"
HKLM,"%HotFix%030",,,"KB905414:Windows XP 安全性更新"
HKLM,"%HotFix%030",1,,"%24%\SvcPack\KB905414.exe /u /n /z"
HKLM,"%HotFix%031",,,"KB905749:Windows XP 安全性更新"
HKLM,"%HotFix%031",1,,"%24%\SvcPack\KB905749.exe /u /n /z"
HKLM,"%HotFix%032",,,"KB900725:Windows XP 安全性更新"
HKLM,"%HotFix%032",1,,"%24%\SvcPack\KB900725.exe /u /n /z"
HKLM,"%HotFix%033",,,"KB891122:已啟用 WMDRM 的媒體播放程式更新"
HKLM,"%HotFix%033",1,,"%24%\SvcPack\KB891122.exe /u /n /z"
HKLM,"%HotFix%034",,,"KB896424:Windows XP 安全性更新"
HKLM,"%HotFix%034",1,,"%24%\SvcPack\KB896424.exe /u /n /z"
HKLM,"%HotFix%035",,,"KB909520:Microsoft 基礎智慧卡密碼編譯服務提供者套件"
HKLM,"%HotFix%035",1,,"%24%\SvcPack\KB909520.exe /u /n /z"
HKLM,"%HotFix%036",,,"KB909993:Windows Media Connect 2.0"
HKLM,"%HotFix%036",1,,"%24%\SvcPack\KB909993.exe /u /n /z"
HKLM,"%HotFix%037",,,"KB910437:Windows XP 更新"
HKLM,"%HotFix%037",1,,"%24%\SvcPack\KB910437.exe /u /n /z"
HKLM,"%HotFix%038",,,"KB904706:Windows XP 安全性更新"
HKLM,"%HotFix%038",1,,"%24%\SvcPack\KB904706.exe /u /n /z"
HKLM,"%HotFix%039",,,"KB908519:Windows XP 安全性更新"
HKLM,"%HotFix%039",1,,"%24%\SvcPack\KB908519.exe /u /n /z"
HKLM,"%HotFix%040",,,"KB912919:Windows XP 安全性更新"
HKLM,"%HotFix%040",1,,"%24%\SvcPack\KB912919.exe /u /n /z"
[HotFixC]
HKLM,"%RunOnceEx%",Title,,"Windows XP Professional HotFix"
HKLM,"%HotFix%041",,,"KB911927:Windows XP 安全性更新"
HKLM,"%HotFix%041",1,,"%24%\SvcPack\KB911927.exe /u /n /z"
HKLM,"%HotFix%042",,,"KB901190:Windows XP 安全性更新"
HKLM,"%HotFix%042",1,,"%24%\SvcPack\KB901190.exe /u /n /z"
HKLM,"%HotFix%043",,,"KB911564:Windows Media Player 外掛程式安全性更新"
HKLM,"%HotFix%043",1,,"%24%\SvcPack\KB911564.exe /u /n /z"
HKLM,"%HotFix%044",,,"KB913446:Windows XP 安全性更新"1
HKLM,"%HotFix%044",1,,"%24%\SvcPack\KB913446.exe /u /n /z"
HKLM,"%HotFix%045",,,"KB911567:Outlook Express for Windows XP 積存安全性更新"
HKLM,"%HotFix%045",1,,"%24%\SvcPack\KB911567.exe /u /n /z"
HKLM,"%HotFix%046",,,"KB908531:Windows XP 安全性更新"
HKLM,"%HotFix%046",1,,"%24%\SvcPack\KB908531.exe /u /n /z"
HKLM,"%HotFix%047",,,"KB912812:Internet Explorer for Windows XP 積存安全性更新"
HKLM,"%HotFix%047",1,,"%24%\SvcPack\KB912812.exe /u /n /z"
HKLM,"%HotFix%048",,,"KB904942:Windows XP 更新"
HKLM,"%HotFix%048",1,,"%24%\SvcPack\KB904942.exe /u /n /z"
HKLM,"%HotFix%049",,,"KB911562:Windows XP 安全性更新"
HKLM,"%HotFix%049",1,,"%24%\SvcPack\KB911562.exe /u /n /z"
HKLM,"%HotFix%050",,,"KB902344:已啟用 WMDRM 的媒體播放程式更新"
HKLM,"%HotFix%050",1,,"%24%\SvcPack\KB902344.exe /u /n /z"
HKLM,"%HotFix%051",,,"KB911565:Windows XP 的 Windows Media Player 10 安全性更新"
HKLM,"%HotFix%051",1,,"%24%\SvcPack\KB911565.exe /u /n /z"
HKLM,"%HotFix%052",,,"KB900485:Windows XP 更新"
HKLM,"%HotFix%052",1,,"%24%\SvcPack\KB900485.exe /u /n /z"
HKLM,"%HotFix%053",,,"KB913580:Windows XP 安全性更新"
HKLM,"%HotFix%053",1,,"%24%\SvcPack\KB913580.exe /u /n /z"
HKLM,"%HotFix%054",,,"KB913433:Flash Player 安全性更新"
HKLM,"%HotFix%054",1,,"%24%\SvcPack\KB913433.exe /q"
HKLM,"%HotFix%055",,,"KB914389:Windows XP 安全性更新"
HKLM,"%HotFix%055",1,,"%24%\SvcPack\KB914389.exe /u /n /z"
HKLM,"%HotFix%056",,,"KB916281:Windows XP 的 Internet Explorer 積存安全性更新"
HKLM,"%HotFix%056",1,,"%24%\SvcPack\KB916281.exe /u /n /z"
HKLM,"%HotFix%057",,,"KB916595:Windows XP 更新"
HKLM,"%HotFix%057",1,,"%24%\SvcPack\KB916595.exe /u /n /z"
HKLM,"%HotFix%058",,,"KB917953:Windows XP 安全性更新"
HKLM,"%HotFix%058",1,,"%24%\SvcPack\KB917953.exe /u /n /z"
HKLM,"%HotFix%059",,,"KB917344:Windows XP 安全性更新"
HKLM,"%HotFix%059",1,,"%24%\SvcPack\KB917344.exe /u /n /z"
HKLM,"%HotFix%060",,,"KB914388:Windows XP 安全性更新"
HKLM,"%HotFix%060",1,,"%24%\SvcPack\KB914388.exe /u /n /z"
[HotFixD]
HKLM,"%RunOnceEx%",Title,,"Windows XP Professional HotFix"
HKLM,"%HotFix%061",,,"KB918439:Windows XP 安全性更新"
HKLM,"%HotFix%061",1,,"%24%\SvcPack\KB918439.exe /u /n /z"
HKLM,"%HotFix%062",,,"KB917159:Windows XP 安全性更新"
HKLM,"%HotFix%062",1,,"%24%\SvcPack\KB917159.exe /u /n /z"
HKLM,"%HotFix%063",,,"KB911280:Windows XP 安全性更新"
HKLM,"%HotFix%063",1,,"%24%\SvcPack\KB911280.exe /u /n /z"
HKLM,"%HotFix%064",,,"KB917734:Windows XP 的 Windows Media Player 10 安全性更新"
HKLM,"%HotFix%064",1,,"%24%\SvcPack\KB917734.exe /u /n /z"
HKLM,"%HotFix%065",,,"KB921883:Windows XP 安全性更新"
HKLM,"%HotFix%065",1,,"%24%\SvcPack\KB921883.exe /u /n /z"
HKLM,"%HotFix%066",,,"KB918899:Windows XP 的 Internet Explorer 積存安全性更新"
HKLM,"%HotFix%066",1,,"%24%\SvcPack\KB918899.exe /u /n /z"
HKLM,"%HotFix%067",,,"KB917422:Windows XP 安全性更新"
HKLM,"%HotFix%067",1,,"%24%\SvcPack\KB917422.exe /u /n /z"
HKLM,"%HotFix%068",,,"KB920670:Windows XP 安全性更新"
HKLM,"%HotFix%068",1,,"%24%\SvcPack\KB920670.exe /u /n /z"
HKLM,"%HotFix%069",,,"KB920683:Windows XP 安全性更新"
HKLM,"%HotFix%069",1,,"%24%\SvcPack\KB920683.exe /u /n /z"
HKLM,"%HotFix%070",,,"KB921398:Windows XP 安全性更新"
HKLM,"%HotFix%070",1,,"%24%\SvcPack\KB921398.exe /u /n /z"
HKLM,"%HotFix%071",,,"KB922616:Windows XP 安全性更新"
HKLM,"%HotFix%071",1,,"%24%\SvcPack\KB922616.exe /u /n /z"
HKLM,"%HotFix%072",,,"KB920214:Windows XP 安全性更新"
HKLM,"%HotFix%072",1,,"%24%\SvcPack\KB920214.exe /u /n /z"
HKLM,"%HotFix%073",,,"KB922582:Windows XP 更新"
HKLM,"%HotFix%073",1,,"%24%\SvcPack\KB922582.exe /u /n /z"
HKLM,"%HotFix%074",,,"KB919007:Windows XP 安全性更新"
HKLM,"%HotFix%074",1,,"%24%\SvcPack\KB919007.exe /u /n /z"
HKLM,"%HotFix%075",,,"KB920685:Windows XP 安全性更新"
HKLM,"%HotFix%075",1,,"%24%\SvcPack\KB920685.exe /u /n /z"
HKLM,"%HotFix%076",,,"KB920872:Windows XP 更新"
HKLM,"%HotFix%076",1,,"%24%\SvcPack\KB920872.exe /u /n /z"
HKLM,"%HotFix%999",,,"KB890830:Microsoft Windows 惡意軟體移除工具[2006.09]"
HKLM,"%HotFix%999",1,,"%24%\SvcPack\KB890830.exe /q"

[UpdateA]
HKLM,"%RunOnceEx%",Title,,"Windows XP Tools"
HKLM,"%Update%01",,,"優化 Windows XP"
HKLM,"%Update%01",01,,"%11%\Regsvr32.exe /u /s %11%\zipfldr.dll"
HKLM,"%Update%01",02,,"%11%\RunDll32.exe %11%\advpack.dll,LaunchINFSection %17%\msmsgs.inf,BLC.Remove"
HKLM,"%Update%01",03,,"%11%\RunDll32.exe %11%\advpack.dll,LaunchINFSection %17%\RunOnceEx.inf,TWXPro"
HKLM,"%Update%02",,,"設定系統服務"
HKLM,"%Update%02",01,,"%11%\Sc.exe Config ImapiService Start= Disabled"
HKLM,"%Update%02",02,,"%11%\Sc.exe Config RDSessMgr Start= Auto"
HKLM,"%Update%02",03,,"%11%\Sc.exe Start RDSessMgr"
HKLM,"%Update%02",04,,"%11%\Sc.exe Config RpcSS Start= Auto"
HKLM,"%Update%02",05,,"%11%\Sc.exe Start RpcSS"
HKLM,"%Update%02",06,,"%11%\Sc.exe Config RemoteRegistry Start= Disabled"
HKLM,"%Update%02",07,,"%11%\Sc.exe Config ShellHWDetection Start= Disabled"
HKLM,"%Update%02",08,,"%11%\Sc.exe Config Schedule Start= Disabled"
HKLM,"%Update%02",09,,"%11%\Sc.exe Config Tlntsvr Start= Disabled"
HKLM,"%Update%02",10,,"%11%\Sc.exe Config UPS Start= Disabled"
HKLM,"%Update%02",11,,"%11%\Sc.exe Config SharedAccess Start= Disabled"
HKLM,"%Update%02",12,,"%11%\Sc.exe Config Themes Start= Auto"
HKLM,"%Update%02",13,,"%11%\Sc.exe Start Themes"
HKLM,"%Update%02",14,,"%11%\Sc.exe Config AudioSrv Start= Auto"
HKLM,"%Update%02",15,,"%11%\Sc.exe Start AudioSrv"
HKLM,"%Update%02",16,,"%11%\Sc.exe Config W32Time Start= Auto"
HKLM,"%Update%02",17,,"%11%\Sc.exe Start W32Time"
HKLM,"%Update%03",,,"安裝 Microsoft Update V6"
HKLM,"%Update%03",01,,"%11%\regsvr32.exe /s %11%\wuweb.dll"
HKLM,"%Update%03",02,,"%11%\regsvr32.exe /s %11%\muweb.dll"
HKLM,"%Update%03",03,,"%24%\Update\WUpdate\WUSetup.exe /wuforce /quiet /norestart"
HKLM,"%Update%04",,,"Microsoft VM build 3810"
;HKLM,"%Update%04",01,,"%24%\Update\MsJavX86\MsJavX86.exe /q:a /c:"""JavaTrig.exe /exe_install /qq""" /r:n"
HKLM,"%Update%04",02,,"%24%\Update\MsJavX86\MsJavWu.exe /q:a /c:"""JavaTrig.exe /exe_install /qq""" /r:n"
HKLM,"%Update%05",,,"Microsoft .NET Framework 1.1 版可轉散發套件"
HKLM,"%Update%05",01,,"%24%\Update\NetFx\netfx1.exe /q:a /C:"""install.exe /qb""" /r:n"
HKLM,"%Update%06",,,"Microsoft .NET Framework 1.1 繁體中文語言套件"
HKLM,"%Update%06",01,,"%24%\Update\NetFx\lang1.exe /q:a /c:"""inst.exe /qb""" /r:n"
HKLM,"%Update%07",,,"Microsoft .NET Framework 1.1 Service Pack 1"
HKLM,"%Update%07",01,,"%24%\Update\NetFx\KB867460.msp /quiet /norestart"
HKLM,"%Update%08",,,"Microsoft .NET Framework 1.1 Service Pack 1 ASP.NET 安全性更新"
HKLM,"%Update%08",01,,"%24%\Update\NetFx\KB886903.msp /quiet /norestart"
HKLM,"%Update%09",,,"Microsoft .NET Framework 2.0 版可轉散發套件"
HKLM,"%Update%09",01,,"%24%\Update\NetFx\netfx2.exe /q:a /C:"""install.exe /qb""" /r:n"
HKLM,"%Update%10",,,"Microsoft .NET Framework 2.0 繁體中文語言套件"
HKLM,"%Update%10",01,,"%24%\Update\NetFx\lang2.exe /q:a /C:"""install.exe /qb""" /r:n"
HKLM,"%Update%11",,,"Microsoft .NET Framework 2.0 版安全性更新"
HKLM,"%Update%11",01,,"%24%\Update\NetFx\KB917283.msp /quiet /norestart"
HKLM,"%Update%12",,,"Macromedia Flash Player 9"
HKLM,"%Update%12",01,,"%24%\Update\Flash\Flash9.exe /q:u /r:n"
HKLM,"%Update%12",02,,"%11%\Regsvr32.exe /s %11%\Macromed\Flash\Flash9.ocx"
HKLM,"%Update%13",,,"Windows XP Professional Service Pack 2 HotFix 調整中"
HKLM,"%Update%13",01,,"%24%\Update\Cmd\Qchain.exe"
HKLM,"%Update%14",,,"刪除暫存檔案"
HKLM,"%Update%14",02,,"%11%\Cmd.exe /c Rmdir /s /q %Temp%"
HKLM,"%Update%14",03,,"%11%\Cmd.exe /c Rmdir /s /q %24%\SvcPack"
HKLM,"%Update%14",04,,"%11%\Cmd.exe /c Rmdir /s /q %24%\Update"
HKLM,"%Update%15",,,"重新開機"
HKLM,"%Update%15",01,,"%11%\shutdown.exe /r /t 0"

[Tweek]
;新增2000使用者帳戶
HKCR,"CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}",,,"2000使用者帳戶"
HKCR,"CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}","InfoTip",,"Starts The Windows 2000 style User Accounts dialog"
HKCR,"CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon",,,"%11%\Shell32.dll,130"
HKCR,"CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command",,,"Control Userpasswords2"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{98641F47-8C25-4936-BEE4-C2CE1298969D}",,,"Add Userpasswords2 to Control Panel"
;增加 DLL 檔案登入及取消
HKCR,".DLL",,,"DllFile"
HKCR,"DllFile",,,"Application Extension"
HKCR,"DllFile\Shell\Register\Command",,,"regsvr32.exe """%1""""
HKCR,"DllFile\Shell\UnRegister\Command",,,"regsvr32.exe /u """%1""""
;增加 OCX 檔案登入及取消
HKCR,".OCX",,,"OcxFile"
HKCR,"OcxFile",,,"OCX"
HKCR,"OcxFile\Shell\Register\Command",,,"regsvr32.exe """%1""""
HKCR,"OcxFile\Shell\UnRegister\Command",,,"regsvr32.exe /u """%1""""
;自動關閉沒有回應的程式
HKCU,"Control Panel\Desktop","AutoEndTasks",,"1"
;加快開關機速度
HKCU,"Control Panel\Desktop","HungAppTimeout",,"200"
HKCU,"Control Panel\Desktop","WaitToKillAppTimeout",,"1000"
;加快菜單顯示速度
HKCU,"Control Panel\Desktop","MenuShowDelay",,"20"
;顯示視窗版本於桌面上
HKCU,"Control Panel\Desktop","PaintDesktopVersion",0x00010001,"1"
;關閉螢幕保護程式
HKCU,"Control Panel\Desktop","ScreenSaverIsSecure",,"0"
HKCU,"Control Panel\Desktop","SCRNSAVE.EXE",,
;鎖定工具列
HKCU,"Software\Microsoft\Internet Explorer\Toolbar","Locked",0x00010001,"1"
;關閉導覽 Windows XP提示
HKCU,"Software\Microsoft\Windows\CurrentVersion\Applets\Tour","RunCount",0x00010001,"0"
;工具列選項->隱藏非使用中的圖示=OFF
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer","EnableAutoTray",0x00010001,"0"
;取消捷徑圖標上的〔捷徑 - 〕字樣
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer","link",1,00,00,00,00


;-----------開始功能表設定-----------
;不展開控制台
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadeControlPanel",,"NO"
;不展開我的文件
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadeMyDocuments",,"NO"
;不展開我的圖片
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadeMyPictures",,"NO"
;不展開網路連線
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadeNetworkConnections",,"NO"
;不展開印表機
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadePrinters",,"NO"
;不使用個人化功能表
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","IntelliMenus",0x00010001,"0"
;開始功能表顯示系統管理工具
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_AdminToolsRoot",0x00010001,"2"
;自動開啟子功能表
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_AutoCascade",0x00010001,"1"
;啟用拖曳功能
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_EnableDragDrop",0x00010001,"1"
;選擇程式依小圖示顯示
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_LargeMFUIcons",0x00010001,"0"
;在開始功能表顯示程式數目
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_MinMFU",0x00010001,"30"
;不反白顯示最近安裝程式
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_NotifyNewApps",0x00010001,"0"
;開始功能表不使用捲動程式
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ScrollPrograms",0x00010001,"0"
;依連結顯示控制台
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowControlPanel",0x00010001,"1"
;不顯示說明及支援
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowHelp",0x00010001,"0"
;依連結顯示我的電腦
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowMyComputer",0x00010001,"1"
;依連結顯示我的文件
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowMyDocs",0x00010001,"1"
;不顯示我的音樂
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowMyMusic",0x00010001,"0"
;不顯示我的圖片
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowMyPics",0x00010001,"0"
;連結到網路連線資料夾
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowNetConn",0x00010001,"1"
;不顯示網路上芳鄰
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowNetPlaces",0x00010001,"0"
;不顯示印表機和傳真
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowPrinters",0x00010001,"0"
;不顯示紀錄文件
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowRecentDocs",0x00010001,"0"
;顯示執行功能
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowRun",0x00010001,"1"
;顯示搜尋功能
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowSearch",0x00010001,"1"
;設定程式存取及預設值
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowSetProgramAccessAndDefaults",0x00010001,"0"
;在程式集顯示系統管理工具
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuAdminTools",0x00010001,"1"
;啟用拖曳功能
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuChange",0x00010001,"1"
;顯示我的最愛
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuFavorites",0x00010001,"1"
;顯示登出
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuLogoff",0x00010001,"0"
;顯示執行
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuRun",0x00010001,"1"
;不使用捲動程式
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuScrollPrograms",,"NO"

;關閉類似工具列分組
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","TaskbarGlomming",0x00010001,"0"
;鎖定工作列
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","TaskbarSizeMove",0x00010001,"0"
;關閉桌面清除功能
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz","NoRun",0x00010001,"1"
;在桌面顯示我的文件
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{450D8FBA-AD25-11D0-98A8-0800361B1103}",0x00010001,"0"
;在桌面顯示我的電腦
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{20D04FE0-3AEA-1069-A2D8-08002B30309D}",0x00010001,"0"
;在桌面顯示網路上的芳鄰
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{208D2C60-3AEA-1069-A2D7-08002B30309D}",0x00010001,"0"
;在桌面顯示 Internet Explorer
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{871C5380-42A0-1069-A2EA-08002B30309D}",0x00010001,"0"

;--------------------------效能選項---------------------
;選擇最佳方式
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects","VisualFXSetting",0x00010001,"0"
;將視窗最大化或最小化時顯示視窗動畫
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\AnimateMinMax","VisualFXSetting",0x00010001,"0"
;滑動開啟下拉式方塊
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ComboBoxAnimation","VisualFXSetting",0x00010001,"0"
;在滑鼠指標下顯示陰影
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\CursorShadow","VisualFXSetting",0x00010001,"0"
;拖放時顯示視窗內容
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DragFullWindows","VisualFXSetting",0x00010001,"0"
;在功能表顯示陰影
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DropShadow","VisualFXSetting",0x00010001,"0"
;去除螢幕字型毛邊
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\FontSmoothing","VisualFXSetting",0x00010001,"0"
;平滑捲動的清單方塊
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListBoxSmoothScrolling","VisualFXSetting",0x00010001,"0"
;顯示半透明的選取矩形
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewAlphaSelect","VisualFXSetting",0x00010001,"0"
;對桌面上的圖示標籤使用下拉式陰影
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow","VisualFXSetting",0x00010001,"1"
;根據每個資料夾類型使用背景影像
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewWatermark","VisualFXSetting",0x00010001,"0"
;將功能表淡出或滑動到檢視
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\MenuAnimation","VisualFXSetting",0x00010001,"0"
;按下功能表項目後逐漸消失
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\SelectionFade","VisualFXSetting",0x00010001,"0"
;滑動工作列按鈕
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TaskbarAnimations","VisualFXSetting",0x00010001,"0"
;在視窗和按鈕上使用圖形樣式
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\Themes","VisualFXSetting",0x00010001,"1"
;工具提示逐漸消失或滑動到檢視
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TooltipAnimation","VisualFXSetting",0x00010001,"0"
;再資料夾中使用一般工作
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\WebView","VisualFXSetting",0x00010001,"1"

;網際網路最大下載檔案數
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings","MaxConnectionsPer1_0Server",0x00010001,"20"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings","MaxConnectionsPerServer",0x00010001,"20"
;在〔開始〕菜單上不顯示用戶名稱
HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoUserNameInStartMenu",0x00010001,"1"
;隨時可使用〔記事本〕開啟檔案
HKLM,"SOFTWARE\Classes\*\shell\OpenInNotepad",,,"使用記事本編輯"
HKLM,"SOFTWARE\Classes\*\shell\OpenInNotepad\command",,,"notepad.exe %1"
;在指定的目錄下開啟命令提示字元
HKLM,"SOFTWARE\Classes\Directory\shell\CommandPrompt",,,"命令提示字元"
HKLM,"SOFTWARE\Classes\Directory\shell\CommandPrompt\command",,,"cmd.exe cd %1"
;在指定的目錄下開啟新視窗目錄
HKLM,"SOFTWARE\Classes\Directory\shell\NewWindows",,,"在新視窗開啟"
HKLM,"SOFTWARE\Classes\Directory\shell\NewWindows\command",,,"explorer.exe %1"
;增加"我的電腦"的滑鼠右鍵選單 - 裝置管理員
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr",,,"裝置管理員"
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr\command",,,"%11%\mmc.exe %11%\devmgmt.msc"
;增加"我的電腦"的滑鼠右鍵選單 - 磁碟重組
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Dfrg",,,"磁碟重組"
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Dfrg\command",,,"%11%\mmc.exe %11%\dfrg.msc.msc"
;增加"我的電腦"的滑鼠右鍵選單 - 登錄檔編輯
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit",,,"登錄檔編輯"
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Regedit\command",,,"%10%\Regedit.exe"
;增加"我的電腦"的滑鼠右鍵選單 - 系統服務
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Services",,,"系統服務"
HKLM,"SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Services\command",,,"%11%\mmc.exe %11%\Services.msc"
;在啟動電腦時關閉 Defreg 執行
HKLM,"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction","Enable",,"N"
;關閉錯誤訊息
HKLM,"SOFTWARE\Microsoft\PCHealth\ErrorReporting","DoReport",0x00010001,"0"


;-----------資料夾選項-----------
;記住每一個資料夾的檢視設定
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ClassicViewState",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\ClassicViewState","DefaultValue",0x00010001,"0"
;在我的電腦顯示控制台
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideMyComputerIcons","{21EC2020-3AEA-1069-A2DD-08002B30309D}",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\ControlPanelInMyComputer","DefaultValue",0x00010001,"0"
;在個別的處理程序開啟資料夾視窗
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","SeparateProcess",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\DesktopProcess","DefaultValue",0x00010001,"0"
;不要快取縮圖
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","DisableThumbnailCache",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\DisableThumbCache","DefaultValue",0x00010001,"1"
;在資料夾提示中顯示檔案大小的資訊
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","FolderContentsInfoTip",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\FolderSizeTip","DefaultValue",0x00010001,"1"
;在檔案總管資料夾清單中顯示簡易資料夾檢視
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","FriendlyTree",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\FriendlyTree","DefaultValue",0x00010001,"1"
;顯示所有檔案和資料夾
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Hidden",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\NOHIDDEN","DefaultValue",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL","DefaultValue",0x00010001,"1"
;顯示已知的檔案類型的副檔名
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","HideFileExt",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\HideFileExt","DefaultValue",0x00010001,"0"
;自動搜尋網路資料夾和印表機
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","NoNetCrawling",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\NetCrawler","DefaultValue",0x00010001,"0"
;登入時還原先前的資料夾視窗
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","PersistBrowsers",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\PersistBrowsers","DefaultValue",0x00010001,"0"
;使用色彩顯示加密或壓縮的 NTFS 檔案
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ShowCompColor",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\ShowCompColor","DefaultValue",0x00010001,"0"
;在標題列顯示完整路徑
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState","FullPath",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\ShowFullPath","DefaultValue",0x00010001,"1"
;在網址列顯示完整路徑
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState","FullPathAddress",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\ShowFullPathAddress","DefaultValue",0x00010001,"1"
;顯示資料夾和桌面項目的快顯描述
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ShowInfoTip",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\ShowInfoTip","DefaultValue",0x00010001,"1"
;使用簡易檔案共享
HKLM,"SYSTEM\CurrentControlSet\Control\Lsa","forceguest",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SimpleSharing","DefaultValue",0x00010001,"0"
;隱藏保護的作業系統檔案
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ShowSuperHidden",0x00010001,"0"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden","DefaultValue",0x00010001,"0"
;顯示系統資料夾的內容
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","WebViewBarricade",0x00010001,"1"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\WebViewBarricade","DefaultValue",0x00010001,"1"


;清除記憶體內被不用的DLL文件
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AlwaysUnloadDLL",,,"1"
;關閉開關機訊息
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System","DisableStatusMessages",0x00010001,"1"
;傳統模式登入
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","LogonType",0x00010001,"1"
;永不在 Windows Update 搜尋驅動程式
HKLM,"SOFTWARE\Policies\Microsoft\Windows\DriverSearching","DontSearchWindowsUpdate",0x00010001,"1"
HKLM,"SOFTWARE\Policies\Microsoft\Windows\DriverSearching","DontPromptForWindowsUpdate",0x00010001,"1"
;關閉關機追蹤紀錄
HKLM,"Software\Policies\Microsoft\Windows NT\Reliability","ShutdownReasonOn",0x00010001,"0"
;使用 Dir 命令時先顯示檔案名稱
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","dircmd",,"/-n"
;優先使用實際記憶體加快系統速度
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management","DisablePagingExecutive",0x00010001,"1"
;善用 CPU 的 L2 Cache 512K
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management","SecondLevelDataCache",0x00010001,"512"

[Strings]
RunOnceEx="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\"
HotFix="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\SvcPack"
Update="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\Update"


[ 此文章被莫力思雷靠唄在2006-09-20 09:23重新編輯 ]


獻花 x0 回到頂端 [6 樓] From:台灣中華電信 | Posted:2006-09-20 09:07 |
adelin 手機
數位造型
個人文章 個人相簿 個人日記 個人地圖
社區建設獎 優秀管理員勳章
頭銜:歡迎至軟體討論區參予討論  ..歡迎至軟體討論區參予討論 ..
版主
級別: 版主 該用戶目前不上站
版區: 軟體推薦, 軟體討論, 程式設計, 電腦教學資源
推文 x15 鮮花 x241
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

下面是引用莫力思雷靠唄於2006-09-20 08:59發表的 :


雖然類似是中文的,但是資料不怎麼齊全
況且他只有舉例 WINDOWS CE
而且還使用在 Visual Studio .NET
.......
知道..所以說 [有點],[參考]..


搶救受性侵孩子 缺我不行

◎軟體各類問題提問討論歡迎至 數位男女-軟體討論區參與加入討論
軟體討論區各版注意事項已於2006/11/17更新,請撥空閱讀
◎如對版規有其他問題或建議歡迎於問題舉報和意見專用帖提出討論,謝謝..
◎本論壇的運作需要您的支持:現在加入榮譽會員
獻花 x0 回到頂端 [7 樓] From:台灣中華電信 | Posted:2006-09-20 09:09 |
莫力思雷靠唄 手機
數位造型
個人文章 個人相簿 個人日記 個人地圖
路人甲
級別: 帳號封鎖 該用戶目前不上站
推文 x0 鮮花 x46
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

這個範例是檔案複製的寫法

這也是使用 CMD 呼叫的方式
test.cmd
複製程式
@Echo Off
Title="軟體安裝中,請勿關閉此視窗"
Echo. 軟體安裝中
Echo. 請勿關閉此視窗
Echo. 請稍後‧‧‧
Set System32=%SystemRoot%\System32
Set Inf=%SystemRoot%\Inf
%System32%\RunDll32.exe %System32%\advpack.dll,LaunchINFSection %Inf%\CopyFile.inf,Install

CopyFile.inf
複製程式
[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf

[Install]
CopyFiles=file.copy,System.copy,Inf.copy

[file.copy]
Hotfix.exe

[System.copy]
oeminfo.ini
oemlogo.bmp

[Inf.copy]
RunOnce.inf

[DestinationDirs]
file.copy=24,Update\Cmd ;把檔案複製到 C:\Update\CMD
System.copy=11 ;把檔案複製到 Windows\System32
Inf.copy=17 ;把檔案複製到 Windows\INF


獻花 x0 回到頂端 [8 樓] From:台灣中華電信 | Posted:2006-09-20 09:20 |
threesecond 會員卡
個人頭像
個人文章 個人相簿 個人日記 個人地圖
初露鋒芒
級別: 初露鋒芒 該用戶目前不上站
推文 x3 鮮花 x57
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

有現成工具可用。

INF-Tool
http://www.inner-smil..._inf.htm
加掛語言包就有中文介面可用,
如果要做成安裝程式的話就用 Iexpress + Makecab。


獻花 x0 回到頂端 [9 樓] From:台灣 | Posted:2006-09-20 15:34 |

<<   1   2  下頁 >>(共 2 頁)
首頁  發表文章 發表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.057099 second(s),query:16 Gzip disabled
本站由 瀛睿律師事務所 擔任常年法律顧問 | 免責聲明 | 本網站已依台灣網站內容分級規定處理 | 連絡我們 | 訪客留言