0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[忘備録] batファイルをタスクバーに固定したい

Last updated at Posted at 2024-12-02

前提

Windows11でbatファイルをタスクバーにピン止めしたいが、
デフォルトだと不可なので何とかする方法

1.ショートカットの作成

デスクトップでショートカットを作成する

2.リンク先を変更

バッチファイルのリンク先に、cmd /cを追加して、バッチファイルを"で囲う
cmd /c

例えば、ファイルが以下にあるなら

C:\project\app.bat

以下のようにすると良い。

cmd /c "C:\project\app.bat"

3.ピン止め

タスクバーにピン止め可能となる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?