Nordek
20-11-2020, 19:47
В общих чертах я в курсе. Когда назначаю по умолчанию прописывается
d:\TC\Programs\Firefox_Developer\App\firefox64\firefox.exe и на FirefoxPortable.exe заменить так и не получилось, ... пока что. »
Судя по всему не там меняете.
Перед изменеием не забудьте сделать резервные копии этих подразделов.
Достаточно будет изменить путь и имя исполняемого файла, например:
D:\\TC\\Programs\\Firefox_Developer\\FirefoxPortable.exe
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\firefox.exe\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\firefox.exe\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678]
@="Firefox HTML Document"
"FriendlyTypeName"="Firefox HTML Document"
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell\open]
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678]
@="Firefox URL"
"FriendlyTypeName"="Firefox URL"
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell\open]
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\ftp]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\ftp\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\ftp\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\ftp\shell\open]
[HKEY_CURRENT_USER\Software\Classes\ftp\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\ftp\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\http]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\http\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\http\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\http\shell\open]
[HKEY_CURRENT_USER\Software\Classes\http\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\http\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\https]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\https\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\https\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\https\shell\open]
[HKEY_CURRENT_USER\Software\Classes\https\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\https\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\mailto]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\mailto\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\mailto\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\mailto\shell\open]
[HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\ddeexec]
@=""
В ключе где ABCD1234EFGH5678 - Произвольный набор из букв и цифр.
Произвольный набор из букв и цифр желательно не менять - Иначе придётся менять много где ещё, например:
[HKEY_CURRENT_USER\Software\Classes\.html]
[HKEY_CURRENT_USER\Software\Classes\.oga]
[HKEY_CURRENT_USER\Software\Classes\.ogg]
[HKEY_CURRENT_USER\Software\Classes\.ogv]
[HKEY_CURRENT_USER\Software\Classes\.shtml]
Пример:
[HKEY_CURRENT_USER\Software\Classes\.htm]
@="FirefoxHTML-ABCD1234EFGH5678"
d:\TC\Programs\Firefox_Developer\App\firefox64\firefox.exe и на FirefoxPortable.exe заменить так и не получилось, ... пока что. »
Судя по всему не там меняете.
Перед изменеием не забудьте сделать резервные копии этих подразделов.
Достаточно будет изменить путь и имя исполняемого файла, например:
D:\\TC\\Programs\\Firefox_Developer\\FirefoxPortable.exe
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\firefox.exe\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\firefox.exe\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678]
@="Firefox HTML Document"
"FriendlyTypeName"="Firefox HTML Document"
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell\open]
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\FirefoxHTML-ABCD1234EFGH5678\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678]
@="Firefox URL"
"FriendlyTypeName"="Firefox URL"
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell\open]
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\FirefoxURL-ABCD1234EFGH5678\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\ftp]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\ftp\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\ftp\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\ftp\shell\open]
[HKEY_CURRENT_USER\Software\Classes\ftp\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\ftp\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\http]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\http\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\http\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\http\shell\open]
[HKEY_CURRENT_USER\Software\Classes\http\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\http\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\https]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\https\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\https\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\https\shell\open]
[HKEY_CURRENT_USER\Software\Classes\https\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\https\shell\open\ddeexec]
@=""
[HKEY_CURRENT_USER\Software\Classes\mailto]
"URL Protocol"=""
"EditFlags"=dword:00000002
[HKEY_CURRENT_USER\Software\Classes\mailto\DefaultIcon]
@="C:\\Program Files\\Firefox\\firefox.exe,1"
[HKEY_CURRENT_USER\Software\Classes\mailto\shell]
@="open"
[HKEY_CURRENT_USER\Software\Classes\mailto\shell\open]
[HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\command]
@="\"C:\\Program Files\\Firefox\\firefox.exe\" -osint -url \"%1\""
[HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\ddeexec]
@=""
В ключе где ABCD1234EFGH5678 - Произвольный набор из букв и цифр.
Произвольный набор из букв и цифр желательно не менять - Иначе придётся менять много где ещё, например:
[HKEY_CURRENT_USER\Software\Classes\.html]
[HKEY_CURRENT_USER\Software\Classes\.oga]
[HKEY_CURRENT_USER\Software\Classes\.ogg]
[HKEY_CURRENT_USER\Software\Classes\.ogv]
[HKEY_CURRENT_USER\Software\Classes\.shtml]
Пример:
[HKEY_CURRENT_USER\Software\Classes\.htm]
@="FirefoxHTML-ABCD1234EFGH5678"