广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 8699 个阅读者
 
<<   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.025635 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言