因为须要使用DDE方式打开文件,因此把支持DDE方式打开文件的参数都导出来到文件,方便查找。工具
而且提供运行DDE命令的工具,能够用于测试DDE功能。测试
一、运行脚步GetDDE.vbs能够获取系统中DDE消息参数,以下ui
.dwi dwifile open D:\WinDDK\760016~1.1\tools\Other\i386\Depends.exe /dde [open("%1")] .xla Excel.Addin Open "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde Excel system [open("%1")] .xlam Excel.AddInMacroEnabled Open "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde Excel system [open("%1")] .xlk Excel.Backup Edit "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde Excel system [open("%1",,,,,,,,,,,,,,,,,0)] .xlk Excel.Backup Open "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde Excel system [open("%1")] .xlk Excel.Backup Print "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde Excel system [open("%1")][print()][close()] .xlk Excel.Backup ViewProtected "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde Excel system [open("%1",,,,,,,,,,,,,,,,,1)]
二、经过CMCDDE.EXE工具来发送DDE消息spa
START /MIN "" "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde CMCDDE.EXE Excel System "[open(\"D:\\T1.gxlsx\")]"
工具下载code