24
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

サクラエディタで開くを右クリックに追加するコマンド

Last updated at Posted at 2016-01-27

サクラエディタを新規インストール時に右クリックメニューに追加できるがうっかり設定漏れたとか、サクラエディタを自動インストールする時に一緒に設定しておきたい人向け(=僕)。

設定

「HKEY_LOCAL_MACHINE\SOFTWARE\Classes*\shell」レジストリハイブに追加すればよいので、ここに reg.exe コマンドで突っ込むだけ。

64bit環境


reg add HKLM\SOFTWARE\Classes\*\shell\sakuraeditor /d "SAKURAで開く(&E)"
reg add HKLM\SOFTWARE\Classes\*\shell\sakuraeditor\command /t REG_SZ /d "\"%ProgramFiles(x86)%\sakura\sakura.exe\" \"%1\""

32bit環境


reg add HKLM\SOFTWARE\Classes\*\shell\sakuraeditor /d "SAKURAで開く(&E)"
reg add HKLM\SOFTWARE\Classes\*\shell\sakuraeditor\command /t REG_SZ /d "\"%ProgramFiles%\sakura\sakura.exe\" \"%1\""
24
25
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
24
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?