ファイルを開くプログラムとして登録できない場合


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /usr/local/www/inkscape/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Windowsで拡張子.svgを開くプログラムにInkscapeを指定しようとしても、設定されない場合があります。

現象

ファイルのプロパティから「ファイルを開くプログラム」を変更したとき、「参照」ボタンからInkscapeの実行ファイルの場所を指定しても、ファイルとして開くプログラムとして設定されないことがあります。

file-property

原因

一度Inkscapeをインストールして削除した後、インストーラを使わずに別の場所にインストールすると、ファイルを開くプログラムの候補として古いInkscapeの情報が残ってしまいます。その情報を使おうとするものの、プグラムが存在しないために反映されない状態となります。

解決法

レジストリエディタを使って、古い情報を削除します。

  1. スタートメニューの「ファイル名を指定して実行」を開き、名前の欄に「regedit」と入力して「OK」をクリックします。
  2. HKEY_CLASSES_ROOT¥Application の下にある「inkscape.exe」を探します。

    regedit-application-inkscape

  3. inkscape.exeを削除します。(「inkscape.exe」の上で右クリックしてメニューから「削除」を選択。)

削除後にもう一度「ファイルを開くプログラム」として指定すると、正常に設定できます。