从桌面快捷方式运行命令提示符命令 [英] Run a Command Prompt command from Desktop Shortcut

查看:340
本文介绍了从桌面快捷方式运行命令提示符命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以创建一个桌面快捷方式,在按下时将打开命令提示符并运行预定义的命令?

解决方案

解决方案非常简单。


  • 编写命令,保存为.bat。


  • 双击创建的文件,命令会自动开始在命令提示符下运行。



  • Is it possible to create a desktop shortcut that, when pressed, will open command prompt and run a pre-defined command?

    解决方案

    The solutions turned out to be very simple.

    1. Open text edit

    2. Write the command, save as .bat.

    3. Double click the file created and the command automatically starts running in command-prompt.

    这篇关于从桌面快捷方式运行命令提示符命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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