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: dannutzza
| Femeie 25 ani Mehedinti cauta Barbat 25 - 52 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
The registry file below adds an "Open with..." command to the context menu of every file (right click on it).
You can create individual .reg files from Notepad or just add more custom commands to 1 .reg file.
Add Open with... for any file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD01] @="Open with..."
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD01\Command] @="rundll32.exe shell32.dll,OpenAs_RunDLL %1" |
The following code samples are for Notepad or Media Player Classic (included in the K-Lite Codec Pack). Likewise you can add any program to the right click context menu of all files.
Add Open with Notepad for any file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD02] @="Open with Notepad" "Icon"="\"C:\\Windows\\notepad.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD02\Command] @="notepad.exe \"%1\"" |
If you also need an icon in front of the text, be sure to check the one for MPlayer Classic, see below.
Add Open with Media Player Classic for any file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD04] @="Open with MPlayer Classic" "Icon"="\"C:\\Program Files (x86)\\K-Lite Codec Pack\\MPC-HC64\\mpc-hc64.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD04\Command] @="C:\\Program Files (x86)\\K-Lite Codec Pack\\MPC-HC64\\mpc-hc64.exe \"%1\"" |
Important note: Your desired icon might not always be the first in the exe file (0 is the id of the first icon, 1 of the 2nd icon etc.). You can add an icon from another file, it doesn't necessary have to be the executable you want to open with. It can be an ico file, a dll file etc. as long as you add the right icon index.
You can find icon IDs with such applications:
_______________________________________
|
|
pus acum 5 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
You can add all those to one .reg file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD01] @="Open with..." "Icon"="\"C:\\Windows\\system32\\imageres.dll\",94"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD01\Command] @="rundll32.exe shell32.dll,OpenAs_RunDLL %1"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD02] @="Open with Notepad" "Icon"="\"C:\\Windows\\system32\\imageres.dll\",14"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD02\Command] @="notepad.exe \"%1\""
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD03] @="Open with Win32pad" "Icon"="\"C:\\Program Files (x86)\\Win32pad\\win32pad.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD03\Command] @="C:\\Program Files (x86)\\Win32pad\\win32pad.exe \"%1\""
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD04] @="Open with MPlayer Classic" "Icon"="\"C:\\Program Files (x86)\\K-Lite Codec Pack\\MPC-HC64\\mpc-hc64.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD04\Command] @="C:\\Program Files (x86)\\K-Lite Codec Pack\\MPC-HC64\\mpc-hc64.exe \"%1\""
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD05] @="Open with Notepad++" "Icon"="\"C:\\Program Files\\Notepad++\\notepad++.exe\",1"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD05\Command] @="C:\\Program Files\\Notepad++\\notepad++.exe \"%1\"" |
To see how you can add icons from dll files like shell32.dll or imageres.dll, refer to the following tutorial, steps 10-14
_______________________________________
|
|
pus acum 5 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
Add WinRAR to all files:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD03] @="Open with WinRAR" "Icon"="\"C:\\Program Files\\WinRAR\\WinRAR.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\CUSTOMCMD03\Command] @="C:\\Program Files\\WinRAR\\WinRAR.exe \"%1\"" |
_______________________________________
|
|
pus acum 1 an |
|