批次:在特定程序中打开一个特定的文件? [英] Batch: Open a specific file in a specific program?

查看:105
本文介绍了批次:在特定程序中打开一个特定的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何告诉窗口打开C:在写字板\\测试\\ test.txt的,当记事本是.txt文件我的默认程序

How do i tell windows to open C:\test\test.txt in WordPad, when Notepad is my default program for .txt files?

批处理语言。

推荐答案

您可以添加的直接路径的可执行如

You can add the direct path to the executable like

start C:\Windows\System32\write.exe [FILE]

这篇关于批次:在特定程序中打开一个特定的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆