创建快捷方式使用批处理文件一个exe [英] Creating a shortcut for a exe using a batch file

查看:118
本文介绍了创建快捷方式使用批处理文件一个exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道的话题已经存在这样的,但我不希望使用VB脚本。

I know a topic already exists like that but I do not want to use a VB script.

我希望你也可以使用命令行DOS创建快捷方式。

I would hope you can create a shortcut using a command line in DOS.

请张贴一些例子,将是巨大的。

Please post some example that would be great.

谢谢!

AA

推荐答案

在创建快捷方式的的.lnk 的格式是从一个批处理文件基本是不可能的,而无需调用某种形式的外部程序。该文件规范可以发现这里和一个快速的糖霜会解释。搜索结果
创建的的.url 的格式快捷键是很容易的格式是简单的文本文件。该规范可以在这里找到 。这种格式有一个一些缺点,但可能会实现你的目标。

Creating a shortcut in the .lnk format is basically impossible from a batch file without calling an external program of some kind. The file spec can be found here, and a quick glace will explain.

Creating a .url format shortcut is quite easy as the format is a simple text file. The spec can be found here. This format has a few disadvantages, but may accomplish your goal.

这篇关于创建快捷方式使用批处理文件一个exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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