无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 2180|回复: 0
打印 上一主题 下一主题

[求助] 32位 WIN8PE制作问题求救,谢谢

[复制链接]
跳转到指定楼层
1#
发表于 2014-5-18 16:48:32 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
制作PE出现一些问题,请大大们,帮忙解决一下,谢谢

1.PDF阅读器无法打开PDF文件,可关联PDF文件


附关联CMD文件
REM 这个 REGDOC.CMD 是用来设置外挂程序与其文档的关联,如果没有实现关联,可以手动运行这个批处理。

PUSHD %~dp0
SET TP=%CD%
PATH "%WINDIR%\SYSTEM32"

rem 关联pdf
reg add "HKCR\.pdf" /f /ve /t REG_SZ /d "FoxitReader.Document"
reg add "HKCR\.pdf" /f /v "Content Type" /t REG_SZ /d "application/pdf"
reg add "HKCR\FoxitReader.Document\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\FOXITREADER.EXE"
reg add "HKCR\FoxitReader.Document\shell\open\command" /f /ve /t REG_SZ /d "%TP%\FOXITREADER.EXE %%1"

:END
EXIT

2.无法关联WORD,EXCEL文件,用的是ATLANTIS和SPREAD32
附关联文件
REM 这个 REGDOC.CMD 是用来设置外挂程序与其文档的关联,如果没有实现关联,可以手动运行这个批处理。

PUSHD %~dp0
SET TP=%CD%
PATH "%WINDIR%\SYSTEM32"


rem 关联office
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents" /f /v "*" /d "application/msword">nul
reg add "HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/msword" /f /v "Extension" /d ".doc">nul
reg add "HKEY_CLASSES_ROOT\.rtf" /f /ve /d "Word.RTF.8">nul
reg add "HKEY_CLASSES_ROOT\.rtf" /f /v "Content Type" /d "application/msword">nul
reg add "HKEY_CLASSES_ROOT\Word.RTF.8" /f /v "EditFlags" /t REG_BINARY /d 00000100>nul
reg add "HKEY_CLASSES_ROOT\Word.RTF.8" /f /ve /d "RTF 格式">nul
reg add "HKEY_CLASSES_ROOT\Word.RTF.8\shell" /f /ve /d "Open">nul
reg add "HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open" /f /ve /d "打开(&O)">nul
reg add "HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\command" /f /ve /d "%TP%\WORD.exe \"%%1\"">nul
reg add "HKEY_CLASSES_ROOT\Word.RTF.8\DefaultIcon" /f /ve /d "%TP%\tm.ico">nul
reg add "HKEY_CLASSES_ROOT\Word.RTF.8\CLSID" /f /ve /d "{00020906-0000-0000-C000-000000000046}">nul
reg add "HKEY_CLASSES_ROOT\.doc" /f /ve /d "Word.Document.8">nul
reg add "HKEY_CLASSES_ROOT\.doc" /f /v "Content Type" /d "application/msword">nul
reg add "HKEY_CLASSES_ROOT\.doc\Word.Document.8\ShellNew" /f /v "FileName" /d "winword8.doc">nul
reg add "HKEY_CLASSES_ROOT\.docx" /f /ve /d "Word.Document.8">nul
reg add "HKEY_CLASSES_ROOT\.docx" /f /v "Content Type" /d "application/msword">nul
reg add "HKEY_CLASSES_ROOT\.docx\Word.Document.8\ShellNew" /f /v "FileName" /d "winword8.doc">nul
reg add "HKEY_CLASSES_ROOT\Word.Document" /f /ve /d "Microsoft Word 文档">nul
reg add "HKEY_CLASSES_ROOT\Word.Document\CurVer" /f /ve /d "Word.Document.8">nul
reg add "HKEY_CLASSES_ROOT\Word.Document\CLSID" /f /ve /d "{00020906-0000-0000-C000-000000000046}">nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8" /f /v "EditFlags" /t REG_BINARY /d 00000100>nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8" /f /ve /d "Microsoft Word 文档">nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8\shell" /f /ve /d "Open">nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8\shell\Open" /f /ve /d "打开(&O)">nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8\shell\Open\command" /f /ve /d "%TP%\WORD.exe \"%%1\"">nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8\protocol\StdFileEditing\server" /f /ve /d "%TP%\WORD.exe">nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8\DefaultIcon" /f /ve /d "%TP%\tm.ico">nul
reg add "HKEY_CLASSES_ROOT\Word.Document.8\CLSID" /f /ve /d "{00020906-0000-0000-C000-000000000046}">nul
reg add "HKEY_CLASSES_ROOT\Word.Document\CurVer" /f /ve /d "Word.Document.8">nul
reg add "HKEY_CLASSES_ROOT\Applications\Excel.exe\shell" /f /ve /d "open">nul
reg add "HKEY_CLASSES_ROOT\Applications\Excel.exe\shell" /f /v "FriendlyCacheCTime" /t REG_BINARY /d 00131BB5B58DBE01>nul
reg add "HKEY_CLASSES_ROOT\Applications\Excel.exe\shell" /f /v "FriendlyCache" /d "Microsoft Excel for Windows">nul
reg add "HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\open\command" /f /ve /d "%TP%\Excel.exe \"%%1\"">nul
reg add "HKEY_CLASSES_ROOT\Applications\Excel.exe\DefaultIcon" /f /ve /d "%TP%\pm.ico">nul
reg add "HKEY_CLASSES_ROOT\.xls" /f /ve /d "Excel.Chart.8">nul
reg add "HKEY_CLASSES_ROOT\.xls" /f /v "Content Type" /d "application/vnd.ms-excel">nul
reg add "HKEY_CLASSES_ROOT\Excel.Chart.8" /f /v "EditFlags" /t REG_BINARY /d 00000100>nul
reg add "HKEY_CLASSES_ROOT\Excel.Chart.8" /f /ve /d "Microsoft Excel 工作簿">nul
reg add "HKEY_CLASSES_ROOT\Excel.Chart.8\shell" /f /ve /d "Open">nul
reg add "HKEY_CLASSES_ROOT\Excel.Chart.8\shell\Open" /f /ve /d "打开(&O)">nul
reg add "HKEY_CLASSES_ROOT\Excel.Chart.8\shell\Open\command" /f /ve /d "%TP%\Excel.exe \"%%1\"">nul
reg add "HKEY_CLASSES_ROOT\Excel.Chart.8\DefaultIcon" /f /ve /d "%TP%\pm.ico">nul

:END
EXIT

3.无法进行makecab右键压缩,
已将makecab文件复制到WIN SYS32目录下,也设置了关联,PE右键出现makecab选项,但不能进行压缩操作

附关联文件内容
REM 这个 REGDOC.CMD 是用来设置外挂程序与其文档的关联,如果没有实现关联,可以手动运行这个批处理。

PUSHD %~dp0
SET TP=%CD%
PATH "%WINDIR%\SYSTEM32"

rem 右键MakeCab、Expand
reg add "HKLM\SOFTWARE\Classes\*\shell\Makecab" /f /ve /t REG_SZ /d "Makecab压缩"
reg add "HKLM\SOFTWARE\Classes\*\shell\Makecab\command" /f /ve /t REG_SZ /d "makecab.exe /D CompressionType=LZX /D CompressionMemory=21 /D Cabinet=ON /D Compress=ON \"%%1\""\

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-11-29 07:38

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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