|
本帖最后由 lgylgyxy 于 2014-11-1 18:03 编辑
求助WIN8 X86 PE OFFICE,pdf注册关联问题
用了附件的相关程序,office无法关联,也打不开
PDF能关联,打开出错,内存溢出
有会的朋友,请指导一下,谢谢
Excel.rar
(560.64 KB, 下载次数: 3)
FOXITREADER.rar
(903.75 KB, 下载次数: 5)
word.rar
(1.19 MB, 下载次数: 2)
PDF 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
------------------------------------------------------------------------------------------------
OFFICE REGDOC.CMD
------------------------------------------------------------------------------------------------
PUSHD %~dp0
SET TP=%CD%
PATH "%WINDIR%\SYSTEM32"
rem 注册WORD
reg add "HKCU\Software\Rising Sun Solutions, Inc.\Atlantis.1_x\RegInfo" /f /v "RegCode" /t REG_SZ /d "D38D-6AB4-7219-87BC"
reg add "HKCU\Software\Rising Sun Solutions, Inc.\Atlantis.1_x\RegInfo" /f /v "RegTo" /t REG_SZ /d "Microsoft User"
reg add "HKU\.DEFAULT\Software\Rising Sun Solutions, Inc.\Atlantis.1_x\RegInfo" /f /v "RegCode" /t REG_SZ /d "D38D-6AB4-7219-87BC"
reg add "HKU\.DEFAULT\Software\Rising Sun Solutions, Inc.\Atlantis.1_x\RegInfo" /f /v "RegTo" /t REG_SZ /d "Microsoft User"
reg add "HKCU\Software\Rising Sun Solutions, Inc.\Atlantis.1_x\Internal" /f /v "AdviseAtStartUp" /t REG_DWORD /d 0
:END
EXIT
//关联 参考win8x64
REGI HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents\*=application/msword
ENVI TEMS=REGI HKCR\
IFEX X:\WINDOWS,ENVI Kt=%%1!ENVI Kt=%1
%TEMS%MIME\Database\Content Administrator\application/msword\Extension=.doc
%TEMS%.rtf\=Word.RTF.8
%TEMS%.rtf\Content Type=application/msword
%TEMS%Word.RTF.8\EditFlags=@00 00 01 00
%TEMS%Word.RTF.8\=RTF 格式
%TEMS%Word.RTF.8\shell\=Open
%TEMS%Word.RTF.8\shell\Open\=打开(&O)
%TEMS%Word.RTF.8\shell\Open\command\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\WORD\WORD.exe "%kt%"
%TEMS%Word.RTF.8\DefaultIcon\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\WORD\WORD.ico
%TEMS%Word.RTF.8\CLSID\={00020906-0000-0000-C000-000000000046}
%TEMS%.doc\=Word.Document.8
%TEMS%.doc\Content Type=application/msword
%TEMS%.doc\Word.Document.8\ShellNew\FileName=winword8.doc
%TEMS%.docx\=Word.Document.8
%TEMS%.docx\Content Type=application/msword
%TEMS%.docx\Word.Document.8\ShellNew\FileName=winword8.doc
%TEMS%Word.Documen\=Microsoft Word 文档
%TEMS%Word.Document\CurVer\=Word.Document.8
%TEMS%Word.Document\CLSID\={00020906-0000-0000-C000-000000000046}
%TEMS%Word.Document.8\EditFlags=@00 00 01 00
%TEMS%Word.Document.8\=Microsoft Word 文档
%TEMS%Word.Document.8\shell\=Open
%TEMS%Word.Document.8\shell\Open\=打开(&O)
%TEMS%Word.Document.8\shell\Open\command\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\WORD\WORD.exe "%kt%"
%TEMS%Word.Document.8\protocol\StdFileEditing\server\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\WORD\WORD.exe
%TEMS%Word.Document.8\DefaultIcon\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\WORD\WORD.ico
%TEMS%Word.Document.8\CLSID\={00020906-0000-0000-C000-000000000046}
%TEMS%Word.Document\CurVer\=Word.Document.8
%TEMS%Applications\Excel.exe\shell\=open
%TEMS%Applications\Excel.exe\shell\FriendlyCacheCTime=@00 13 1B B5 B5 8D BE 01
%TEMS%Applications\Excel.exe\shell\FriendlyCache=Microsoft Excel for Windows
%TEMS%Applications\Excel.exe\shell\open\command\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\EXCEL\Excel.exe "%kt%"
%TEMS%Applications\Excel.exe\DefaultIcon\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\EXCEL\Excel.ico
%TEMS%.xls\=Excel.Chart.8
%TEMS%.xls\Content Type=application/vnd.ms-excel
%TEMS%Excel.Chart.8\EditFlags=@00 00 01 00
%TEMS%Excel.Chart.8\=Microsoft Excel 工作簿
%TEMS%Excel.Chart.8\shell\=Open
%TEMS%Excel.Chart.8\shell\Open\=打开(&O)
%TEMS%Excel.Chart.8\shell\Open\command\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\EXCEL\Excel.exe "%kt%"
%TEMS%Excel.Chart.8\DefaultIcon\=%SYSTEMDRIVE%\PROGRAM FILES\文件工具\EXCEL\Excel.ico
------------------------------------------------------------------------------------------------ |
|