Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: Profil Larina23
| Femeie 23 ani Timis cauta Barbat 28 - 80 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
Tested under Windows 10 and 11:
1. Open the Registry (start - run - regedit)
2. Navigate to the following key: Computer\HKEY_CLASSES_ROOT\DesktopBackground\Shell
3. Create a new key under the Shell key above and name it whatever you want your desktop context menu entry to be called I'm gonna go with: BurnAware
4. Under the newly created key, create another key and call it: command Like: Computer\HKEY_CLASSES_ROOT\DesktopBackground\Shell\BurnAware\command
5. Under the command key double click the (Default) String Value and add the path to your software In my case it's gonna look like this: (Default) REG_SZ "C:\Program Files (x86)\BurnAware Free\BurnAware.exe"
Without the proper icon, it would just be an entry with a name. If you want to set custom icon, see below:
1. Go up a key from the command key, into the key you created at point 3. I'm here: Computer\HKEY_CLASSES_ROOT\DesktopBackground\Shell\BurnAware
2. Create a New - String Value and name it: Icon
3. Double click Icon and add the path to your icon. Your icon can be an ICO file, an executable or a DLL library:
- if it's an ICO file you simply add the path to the .ico file eg. D:\ICONS\BurnAware.ico
- if it's a DLL library, you are going to need to specify the icon index. To find which it is, you must first create a random shortcut anywhere, right click it and go to Properties - Shortcut tab - Change icon, then browse to the dll file and selected, then count the icons first down then to the right until you find the one you want. It's index is the number minus one, because count starts from zero. This means if you counted and your desired icon was 21st, then the index is 20. Now you should add the path to your DLL file, followed by a comma and then the index eg. D:\ICONS\IconLibrary.dll,11
- if it's an executable file, it's usually enough to add the path to the .exe file and get the desired icon But an executable file might have a bunch of icons in it and maybe you want a different one. Do the same as above with the DLL file, except you check the .exe file for icons to get the icon index
The changes are instantaneous so you don't need to restart your computer.
_______________________________________
|
|
pus acum 2 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
In case of any errors with the path, you can always use environment variables.
So instead of C:\Program Files (x86)
you would add: %programfiles(x86)%
So the link would become something like: %programfiles(x86)%\BurnAware Free\BurnAware.exe
Other environment variables that can be used as a path: %programfiles% %windir% %userprofile% %appdata%
Source:
_______________________________________
|
|
pus acum 2 ani |
|