【问题标题】:Open a specific Command Promp with commands running使用正在运行的命令打开特定的命令提示符
【发布时间】:2013-09-05 16:25:51
【问题描述】:

我在我的网站上使用 sass,我发现每次都需要打开命令提示符/终端,输入所有命令然后开始编程,这很烦人。如何在运行命令的情况下保存命令提示符/终端。我正在使用 Windows 8 和 Mac 进行编程。感谢您的帮助。

(命令是[用于命令提示符]:

cd xampp/htdocs
sass --watch style.scss:style.css

并且[对于终端]:

cd Applications/XAMPP/xamppfiles/htdocs/
sass --watch style.scss:style.css

非常感谢。)

【问题讨论】:

    标签: terminal command prompt


    【解决方案1】:

    我已经成功尝试过:

    1. Create new text file on desktop;
    2. Enter desired commands in text file;
    3. Rename extension of text file from ".txt" --> ".bat"
    

    示例,在 bat 文件中:

    d:
    cd server
    node server.js
    cmd
    

    【讨论】:

      猜你喜欢
      • 2010-11-30
      • 1970-01-01
      • 1970-01-01
      • 2019-05-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多