• 按键公众号 :
按键精灵电脑版
立即下载

软件版本:2014.06
软件大小:22.9M
更新时间:2021-12-03

按键精灵安卓版
立即下载

软件版本:3.7.2
软件大小:46.2M
更新时间:2023-05-10

按键精灵iOS版
立即下载

软件版本:1.8.0
软件大小:29.2M
更新时间:2023-03-21

按键手机助手
立即下载

软件版本:3.8.0
软件大小:262M
更新时间:2023-05-30

快捷导航

登录 后使用快捷导航
没有帐号? 注册

发新话题 回复该主题

[紫猫] [紫猫学院][PC]你不知道的RunApp命令秘密之二:指定程序打开文件... [复制链接]

1#
一些程序是支持参数启动的,例如画图软件后面跟图片路径的话,会以画图工具形式打开图片进行修改。更多的程序参数还请自行搜索。另外例子还提供了大量的系统自带程序,例如任务管理器,控制面板,应用管理等。


  • //一些系统自带参数的启动程序, 更多请程序参数请自行搜索
  • //用画图程序打开图片
  • RunApp "mspaint.exe C:\紫猫帅照.jpg"

  • //以下代码例子是从网上搜索得到的
  • //打开任务管理器
  • RunApp "TASKMGR.EXE"
  • //打开我的文档
  • RunApp "explorer.exe"
  • //打开通讯簿
  • RunApp "wab.exe"
  • //打开事件查看器
  • RunApp "eventvwr.msc"
  • //打开数据源 (ODBC).
  • RunApp "odbcad32.exe"
  • //打开性能
  • RunApp "perfmon.msc"
  • //打开服务
  • RunApp "services.msc"
  • //打开本地安全策略
  • RunApp "secpol.msc"
  • //打开计算机管理
  • RunApp "compmgmt.msc"
  • //打开画图
  • RunApp "mspaint.exe"
  • //打开录音机
  • RunApp "sndrec32.exe"
  • //打开计算器
  • RunApp "calc.exe"
  • //打开红心大战
  • RunApp "mshearts.exe"
  • //打开空当接龙
  • RunApp "freecell.exe"
  • //打开扫雷
  • RunApp "winmine.exe"
  • //打开蜘蛛纸牌
  • RunApp "spider.exe"
  • //打开纸牌
  • RunApp "sol.exe"
  • //打开记事本
  • RunApp "notepad.exe"
  • //打开命令提示符
  • RunApp "cmd.exe"
  • //打开写字板
  • RunApp "wordpad.exe"
  • //打开"我的电脑"----/n可以换成/e 将会以资源管理器的方式打
  • RunApp "explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
  • //打开"我的文档"
  • RunApp "explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}"
  • //打开"网络邻居"
  • RunApp "explorer.exe /n,::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
  • //打开"回收站"
  • RunApp "explorer.exe /n,::{645FF040-5081-101B-9F08-00AA002F954E}"
  • //打开"控制面板"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL"
  • //打开"系统属性-常规"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0"
  • //打开"系统属性-计算机名"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1"
  • //打开"系统属性-硬件"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2"
  • //打开"系统属性-高级"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3"
  • //打开"系统属性-系统还原"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4"
  • //打开"系统属性-自动更新"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5"
  • //打开"系统属性-远程"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,6"
  • //打开"辅助选项 属性-键盘"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1"
  • //打开"辅助选项 属性-声音"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2"
  • //打开"辅助选项 属性-显示"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3"
  • //打开"辅助选项 属性-鼠标"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4"
  • //打开"辅助选项 属性-常规"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5"
  • //打开"添加/删除程序 属性-程序"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,0"
  • //打开"添加/删除程序 属性-安装/卸载"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,1"
  • //打开"添加/删除程序 属性-Windows安装程序"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,2"
  • //打开"添加/删除程序 属性-启动盘"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,3"
  • //打开"显示 属性-主题"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL desk.cpl"
  • //打开"显示 属性-背景"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0"
  • //打开"显示 属性-屏幕保护程序"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1"
  • //打开"显示 属性-外观"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2"
  • //打开"显示 属性-设置"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3"
  • //打开"Internet 属性-常规"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,0"
  • //打开"Internet 属性-安全"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,1"
  • //打开"Internet 属性-隐私"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,2"
  • //打开"Internet 属性-内容"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,3"
  • //打开"Internet 属性-连接"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,4"
  • //打开"Internet 属性-程序"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,5"
  • //打开"Internet 属性-高级"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,6"
  • //打开"区域设置 属性-区域设置"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,0"
  • //打开"区域设置 属性-语言"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,1"
  • //打开"区域设置 属性-高级"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,2"
  • //打开"游戏控制器-一般"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Joy.cpl,,0"
  • //打开"鼠标 属性"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Main.cpl"
  • //打开"鼠标 属性-指针"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Main.cpl,,1"
  • //打开"鼠标 属性-指针选项"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Main.cpl,,2"
  • //打开"鼠标 属性-轮"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Main.cpl,,3"
  • //打开"鼠标 属性-硬件"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Main.cpl,,4"
  • //打开"多媒体 属性-音量"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,0"
  • //打开"多媒体 属性-声音"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,1"
  • //打开"多媒体 属性-音频"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,2"
  • //打开"多媒体 属性-语声"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,3"
  • //打开"多媒体 属性-硬件"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,4"
  • //打开"调制解调器 属性"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Modem.cpl"
  • //打开"日期/时间 属性-日期和时间"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl"
  • //打开"日期/时间 属性-时区"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1"
  • //打开"电源选项 属性-电源使用方案"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Powercfg.cpl"
  • //打开"拨号属性"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL Telephon.cpl"
  • //打开"ODBC数据源管理器 属性-用户DSN"
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL odbccp32.cpl"
  • //打开"添加打印机向导"
  • RunApp "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter"
  • //打开"复制磁盘"
  • RunApp "rundll32.exe diskcopy.dll,DiskCopyRunDll"
  • //打开Windows的“字体”档案夹
  • RunApp "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL FontsFolder"
  • // 执行“添加新调制解调器”向导
  • RunApp "rundll32.exe shell32.dll,Control_RunDLL modem.cpl,,add"

    已有1评分我要评分查看所有评分

    最后编辑紫猫 最后编辑于 2021-11-11 09:12:35
    本主题由 按键精灵总策划 果壳王子 于 2021/11/11 12:55:39 执行 审核帖子 操作

    【紫猫编程学院】火热招生中

    教学涉及按键精灵(电脑版与手机版)、网页、游戏、办公、插件等。

    报名咨询QQ: 345911220 微信:zimaoxy

    紫猫学院免费教程

    加入交流QQ群: 7333555


    2#

    祝紫猫学院越办越红火🔥 🔥🔥🔥 🔥🔥🔥

    <strong><font color="Red">中国人民解放</font></strong>
    3#

    支持一个 祝紫猫学院越办越红火🔥 🔥🔥🔥 🔥🔥🔥

    4#

    大神你好,为什么华为荣耀安卓8系统的,runapp,不能自动启动游戏,

    发新话题 回复该主题