无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 22522|回复: 58
打印 上一主题 下一主题

PECMD.EXE SHOW 命令详解。

[复制链接]
1#
发表于 2010-5-31 05:04:52 | 显示全部楼层
llxl1638

i wanted to ask you again , is it too hard to port PECMD to use english based PE's . or is there any special old version of PECMD which works  OK with english based PE's ?

the only script that we use in winbuilder for enabling themes support in xp based PE , uses PECMD for only shut down related problems ,
below i am pasting only the code of the script for PECMD which he used ,.,

[PECMD]
// Use PECMD rather than PELoader 32-Bit only
If,%SourceArch%,EQUAL,X86,Begin
RegWrite,HKLM,0x1,WB-Setup\Setup,CmdLine,"PECMD.EXE MAIN %SystemRoot%\SYSTEM32\PECMD.INI"
If,%LogonType%,Equal,True,RegWrite,HKLM,0x4,"WB-Software\Microsoft\Windows NT\CurrentVersion\Winlogon",LogonType,1
FileCopy,%ProjectTemp%\XPThemes\PECMD\PECMD.exe,%target_sys%,NOWARN
FileCopy,%ProjectTemp%\XPThemes\PECMD\PECMD.ini,%target_sys%,NOWARN
End

here is PECMD.INI content

FIND Explorer.EXE,!TEAM SHEL %WinDir%\EXPLORER.EXE|LOGO|TEXT


this way , PECMD works very well for shutdown ONLY , but for other functions , like making shortcuts etc , PECMD does not work .

anyone can explain why does it happen ? i am really confused .

(sorry if i am off topic)

Regards,
Maanu from Pakistan
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-6-6 00:40

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表