Автор: Kilyan
Дата сообщения: 03.12.2008 10:12
появился вопрос - и требуется найти решение, ели таковое есть!?
Возможно ли без сторонних утилит, ком-строкой вытащить в рег файл или [more]
reg add "HKCR\ASFFile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\ASFFile" /ve /d "Advanced Streaming Format" /f
reg add "HKCR\ASFFile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\ASXFile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\ASXFile" /ve /d "Advanced Streaming Index" /f
reg add "HKCR\ASXFile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\AVIFile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\AVIFile" /ve /d "Audio-Video Interleaved" /f
reg add "HKCR\AVIFile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\DIVXfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\DIVXfile" /ve /d "AVI file compressed with DIVX coder" /f
reg add "HKCR\DIVXfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\IFOfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\IFOfile" /ve /d "DVD Index File" /f
reg add "HKCR\IFOfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\LAPfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\LAPfile" /ve /d "Light Alloy Playlist" /f
reg add "HKCR\LAPfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\m3ufile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\m3ufile" /ve /d "WinAMP Advanced Playlist" /f
reg add "HKCR\m3ufile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\MKAfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\MKAfile" /ve /d "Matroska Audio" /f
reg add "HKCR\MKAfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\MKVfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\MKVfile" /ve /d "Matroska video" /f
reg add "HKCR\MKVfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\mp3file\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\mp3file" /ve /d "Audio MPEG1 Layer-3" /f
reg add "HKCR\mp3file\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\MP4file\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\MP4file" /ve /d "MPEG-4" /f
reg add "HKCR\MP4file\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\MPAfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\MPAfile" /ve /d "Audio MPEG" /f
reg add "HKCR\MPAfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\MPEfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\MPEfile" /ve /d "Motion Picture Experts Group" /f
reg add "HKCR\MPEfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\mpegfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\mpegfile" /ve /d "Motion Picture Experts Group" /f
reg add "HKCR\mpegfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\MPGfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\MPGfile" /ve /d "Motion Picture Experts Group" /f
reg add "HKCR\MPGfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\OGGfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\OGGfile" /ve /d "Ogg Audio" /f
reg add "HKCR\OGGfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\OGMfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\OGMfile" /ve /d "Ogg Media" /f
reg add "HKCR\OGMfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\VOBfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\VOBfile" /ve /d "DVD Video Object" /f
reg add "HKCR\VOBfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\WMfile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\WMfile" /ve /d "Windows Media" /f
reg add "HKCR\WMfile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\WMVFile\shell\open\command" /ve /d """"%programfiles%\Light Alloy\LA.exe""" """%%1"""" /f
reg add "HKCR\WMVFile" /ve /d "Windows Media Video" /f
reg add "HKCR\WMVFile\DefaultIcon" /ve /d """"%programfiles%\Light Alloy\Icons\PK69.icl""",0" /f
reg add "HKCR\.asx" /ve /d "ASXFile" /f
reg add "HKCR\.divx" /ve /d "DIVXfile" /f
reg add "HKCR\.IFO" /ve /d "IFOfile" /f
reg add "HKCR\.LAP" /ve /d "LAPfile" /f
reg add "HKCR\.mka" /ve /d "MKAfile" /f
reg add "HKCR\.mkv" /ve /d "MKVfile" /f
reg add "HKCR\.mp4" /ve /d "MP4file" /f
reg add "HKCR\.mpa" /ve /d "MPAfile" /f
reg add "HKCR\.mpe" /ve /d "MPEfile" /f
reg add "HKCR\.mpg" /ve /d "MPGfile" /f
reg add "HKCR\.mpv2" /ve /d "mpegfile" /f
reg add "HKCR\.ogm" /ve /d "OGMfile" /f
reg add "HKCR\.vob" /ve /d "VOBfile" /f
reg add "HKCR\.wm" /ve /d "WMfile" /f
reg add "HKCR\.wmx" /ve /d "ASXFile" /f
[/more](создание бэкапа)
настроек(ассоциации файлов) для конкретной программы!???
Суть такова - найти в реестре всевозможные ассоциации к данной программы и их сохранить в рег файл.