获取所有后缀DDE打开命令

概述:

由于需要使用DDE方式打开文件,所以把支持DDE方式打开文件的参数都导出来到文件,方便查找。

并且提供运行DDE命令的工具,可以用于测试DDE功能。

 

1、运行脚步GetDDE.vbs可以获取系统中DDE消息参数,如下

.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)]

 

2、通过CMCDDE.EXE工具来发送DDE消息

START /MIN "" "D:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde
CMCDDE.EXE Excel System "[open(\"D:\\T1.gxlsx\")]"

 

相关:

工具下载

转载于:https://www.cnblogs.com/Quincy/p/5266676.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值