Вот пример бат файла
CMD/BAT - Ассоциация файлов с программами c помощью cmd/bat
forum.oszone.net
Измени значения и сохрани как .bat
Должно получиться строчки три. Запусти от админа
Понятно. Спасибо.
А что именно там менять ?
В коде, по ссылке - находится большой код.
Как он должен выглядеть в результате?
SET APP_P=C:\Program Files\Hamster Soft\Hamster PDF Reader
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".djvu" /t REG_SZ /d "HamsterPDFReader.AssocFile.djvu" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".djv" /t REG_SZ /d "HamsterPDFReader.AssocFile.djv" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".pdf" /t REG_SZ /d "HamsterPDFReader.AssocFile.pdf" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".xps" /t REG_SZ /d "HamsterPDFReader.AssocFile.xps" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".cbs" /t REG_SZ /d "HamsterPDFReader.AssocFile.cbs" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".cbr" /t REG_SZ /d "HamsterPDFReader.AssocFile.cbr" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".chm" /t REG_SZ /d "HamsterPDFReader.AssocFile.chm" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".mobi" /t REG_SZ /d "HamsterPDFReader.AssocFile.mobi" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".epub" /t REG_SZ /d "HamsterPDFReader.AssocFile.epub" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".fb2" /t REG_SZ /d "HamsterPDFReader.AssocFile.fb2" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".fbz" /t REG_SZ /d "HamsterPDFReader.AssocFile.fbz" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".zfb2" /t REG_SZ /d "HamsterPDFReader.AssocFile.zfb2" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".ps" /t REG_SZ /d "HamsterPDFReader.AssocFile.ps" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".oxps" /t REG_SZ /d "HamsterPDFReader.AssocFile.oxps" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".eps" /t REG_SZ /d "HamsterPDFReader.AssocFile.eps" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".cb7" /t REG_SZ /d "HamsterPDFReader.AssocFile.cb7" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".cbt" /t REG_SZ /d "HamsterPDFReader.AssocFile.cbt" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".fb2z" /t REG_SZ /d "HamsterPDFReader.AssocFile.fb2z" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".pdb" /t REG_SZ /d "HamsterPDFReader.AssocFile.pdb" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".fb2zip" /t REG_SZ /d "HamsterPDFReader.AssocFile.fb2zip" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".prc" /t REG_SZ /d "HamsterPDFReader.AssocFile.prc" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".tiff" /t REG_SZ /d "HamsterPDFReader.AssocFile.tiff" /f
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".tif" /t REG_SZ /d "HamsterPDFReader.AssocFile.tif" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tif" /v "Progid" /t REG_SZ /d "HamsterPDFReader.AssocFile.tif" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tiff" /v "Progid" /t REG_SZ /d "HamsterPDFReader.AssocFile.tiff" /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xps" /v "Progid" /t REG_SZ /d "HamsterPDFReader.AssocFile.xps" /f
REG ADD "HKCU\Software\Classes\.cb7" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.cb7" /f
REG ADD "HKCU\Software\Classes\.cbr" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.cbr" /f
REG ADD "HKCU\Software\Classes\.cbs" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.cbs" /f
REG ADD "HKCU\Software\Classes\.cbt" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.cbt" /f
REG ADD "HKCU\Software\Classes\.chm" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.chm" /f
REG ADD "HKCU\Software\Classes\.djv" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.djv" /f
REG ADD "HKCU\Software\Classes\.djvu" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.djvu" /f
REG ADD "HKCU\Software\Classes\.eps" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.eps" /f
REG ADD "HKCU\Software\Classes\.epub" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.epub" /f
REG ADD "HKCU\Software\Classes\.fb2" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.fb2" /f
REG ADD "HKCU\Software\Classes\.fb2z" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.fb2z" /f
REG ADD "HKCU\Software\Classes\.fb2zip" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.fb2zip" /f
REG ADD "HKCU\Software\Classes\.fbz" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.fbz" /f
REG ADD "HKCU\Software\Classes\.mobi" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.mobi" /f
REG ADD "HKCU\Software\Classes\.oxps" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.oxps" /f
REG ADD "HKCU\Software\Classes\.pdb" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.pdb" /f
REG ADD "HKCU\Software\Classes\.pdf" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.pdf" /f
REG ADD "HKCU\Software\Classes\.prc" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.prc" /f
REG ADD "HKCU\Software\Classes\.ps" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.ps" /f
REG ADD "HKCU\Software\Classes\.tif" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.tif" /f
REG ADD "HKCU\Software\Classes\.tiff" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.tiff" /f
REG ADD "HKCU\Software\Classes\.xps" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.xps" /f
REG ADD "HKCU\Software\Classes\.zfb2" /ve /t REG_SZ /d "HamsterPDFReader.AssocFile.zfb2" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cb7" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cb7\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_cb7.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cb7\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cb7\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbr" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbr\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_cbr.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbr\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbr\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbs" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbs\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_cbs.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbs\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbs\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbt" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbt\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_cbt.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbt\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.cbt\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.chm" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.chm\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_chm.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.chm\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.chm\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djv" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djv\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_djv.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djv\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djv\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djvu" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djvu\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_djvu.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djvu\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.djvu\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.eps" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.eps\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_eps.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.eps\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.eps\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.epub" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.epub\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_epub.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.epub\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.epub\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_fb2.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2z" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2z\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_fb2z.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2z\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2z\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2zip" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2zip\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_fb2zip.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2zip\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fb2zip\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fbz" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fbz\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_fbz.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fbz\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.fbz\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.mobi" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.mobi\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_mobi.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.mobi\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.mobi\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.oxps" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.oxps\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_oxps.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.oxps\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.oxps\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdb" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdb\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_pdb.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdb\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdb\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdf" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdf\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_pdf.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdf\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.pdf\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.prc" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.prc\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_prc.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.prc\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.prc\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.ps" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.ps\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_ps.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.ps\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.ps\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tif" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tif\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_tiff.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tif\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tif\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tiff" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tiff\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_tiff.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tiff\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.tiff\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.xps" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.xps\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_xps.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.xps\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.xps\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.zfb2" /ve /t REG_SZ /d "Hamster PDF Reader" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.zfb2\DefaultIcon" /ve /t REG_SZ /d "%APP_P%\icons\main_zfb2.ico" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.zfb2\Shell\Open" /v "Icon" /t REG_SZ /d "%APP_P%\HamsterPDFReader.exe" /f
REG ADD "HKCU\Software\Classes\HamsterPDFReader.AssocFile.zfb2\Shell\Open\command" /ve /t REG_SZ /d "\"%APP_P%\HamsterPDFReader.exe\" \"%%1\"" /f
Например файл djvu - он там прописан в 9 местах.
Сообщение автоматически объединено: 6 Сен 2021
Или вот эта строчка:
REG ADD "HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations" /v ".djvu" /t REG_SZ /d "HamsterPDFReader.AssocFile.djvu" /f
Чем ее заменить ?
Откуда взят вот этот адрес?
HKLM\SOFTWARE\HamsterSoft\HamsterPDFReader\Capabilities\FileAssociations