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?

インターネットショートカット のアイコンをメモ帳から変更する

Last updated at Posted at 2025-03-03

はじめに

インターネットショートカット(.url)のアイコンは、実はメモ帳をいじるだけで変更できるという話

.urlファイルの内容

これが最低限の構成ですが…

twitter.url
[InternetShortcut]
URL=https://twitter.com/home

ちょっと付け足せば、簡単にアイコンを変えられます。

twitter.url
[InternetShortcut]
URL=https://twitter.com/home
IconFile=C:\User\icon\my_icon.ico
IconIndex=0
HotKey=0
IDList=

IconFile=のパスを書き換えれば自分の好きなアイコンを指定できます。
なお、プロパティからの変更ではアイコンがすぐに変わりますが、この方法で書き換えただけでは、アイコンがすぐには変わりません。

エクスプローラーの再起動

即座にアイコンの変更を反映させたい場合、エクスプローラーの再起動が必要です。
2つ方法があります。

1.タスクマネージャーを開いて、エクスプローラーを右クリックして再起動をクリック。

2.コマンドでエクスプローラーを再起動する。以下はPowerShellのコマンドです。

Stop-Process -Name explorer
Start-Process explorer
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?