Jump to content

Regedit Dizin Değişkeni Sorunu


aziz25
 Share

Recommended Posts

Selamlar.
Win7 x64 ve x86 sistemlere "notepad++" 'ı katılımsız kurmak istiyorum.
 
Sağ tık menüye "notepad++ ile aç" menüsü eklendiğinde aşağıdaki girdiler registry'e giriliyor. Kullanıcı "C:" sürücüsü yerine  farklı bir director'e kurulum yaparsa sorun çıkmaması için x64 sistemlerde "%Program Files (x86)%" , x86 sistemlerde "%PROGRAMFILES%" değişkenleri kullanılmalı diye biliyorum.
 
Peki bu değişkenler aşağıdaki satırlara nasıl eklenecek?
 
Yani öğrenmek istediğim;
Registry dosyalarında "C:\\Program Files (x86)" veya "C:\\Program Files" gibi satırlarda "C:" sürücüsü yerine kullanmak üzere %SystemRoot%, %USERPROFILE%, %SystemDrive% gibi değişkenler reg dosyalarina nasıl eklenir/editlenir?
 
 
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\*\shell\OpenWithNotepad]
@="Edit with &Notepad++"
"icon"="C:\\Program Files (x86)\\Notepad++\\Notepad++.exe"

[HKEY_CLASSES_ROOT\*\shell\OpenWithNotepad\Command]
@="\"C:\\Program Files (x86)\\Notepad++\\Notepad++.exe\" \"%1\""

Edited by aziz25
Link to comment
Share on other sites

  • Editor
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\*\shell\OpenWithNotepad]
@="Edit with &Notepad++"
"icon"="%programfiles(x86)%\\Notepad++\\Notepad++.exe"

[HKEY_CLASSES_ROOT\*\shell\OpenWithNotepad\Command]
@="\"%programfiles(x86)%\\Notepad++\\Notepad++.exe\" \"%1\"" 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...