PowerShell查看本机文件关联程序和默认打开程序的方法

浏览: 160 发布日期: 2016-08-26 分类: windows

  上次转载的一篇文章《PowerShell查看打开文件的默认应用程序》,它的亮点是调用了windows api,思路很独特,[email protected],说assoc + ftype更方便。那么assoc 和 ftype是个神马东西,我简单描述下。

  assoc 和 ftype是windows系统上cmd.exe中两个命令:

  前者assoc 可以返回文件扩展名(比如.mp3)和系统对该扩展名本身的命名(比如WMP11.AssocFile.MP3)。
后者 ftype 可以返回系统的扩展名命名(比如WMP11.AssocFile.MP3)和默认的打开程序(比如:windows媒体播放器的程序路径,及可接受的参数)。
有了上面的知识和工具我们就可以大言不惭地在PowerShell中调用cmd中的命令,并显示所有的扩展名,和扩展名文件对应的默认打开程序。体现PowerShell强大兼容性的时刻又一次到来了:

  


$ftypeMap = @{}
cmd /c ftype  | foreach {
$FileType,$Executable= $_ -split '='
$ftypeMap.Add($FileType,$Executable)
}
 
cmd /c assoc | foreach {
$Extension,$FileType = $_ -split '='
[pscustomobject]@{
Extension = $Extension
FileType = $FileType
Executable=$ftypeMap[$FileType]
}
} | Out-GridView
 
Remove-Variable -Name ftypeMap

  

PowerShell查看文件关联和默认打开程序

  所以我们在和PowerShell这个新欢相处时,也不要把旧爱完全忘记啊。

  我把上面的脚本稍加改动,在自己机器上生成了一个html表格:

&
返回顶部
文件后缀 文件扩展名 默认打开程序
.386 vxdfile
.3g2 WMP11.AssocFile.3G2 “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.3gp WMP11.AssocFile.3GP “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.3gp2 WMP11.AssocFile.3G2 “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.3gpp WMP11.AssocFile.3GP “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.aac WMP11.AssocFile.ADTS “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.accda Access.ACCDAExtension.15 D:PROGRA~2MICROS~1Office15MSACCESS.EXE /NOSTARTUP “%1″
.accdb Access.Application.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.accdc Access.ACCDCFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″
.accde Access.ACCDEFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.accdr Access.ACCDRFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /RUNTIME “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.accdt Access.ACCDTFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″
.accdu Access.WizardUserDataFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″
.accdw Access.WebApplicationReference.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.accessor VisualStudio.accessor.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.accft Access.ACCFTFile.15
.accountpicture-ms accountpicturefile
.acl ACLFile
.actions4 .actions4
.activitydiagram VisualStudio.activitydiagram.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde “%1″
.AddIn VisualStudio.AddIn.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.ade Access.ADEFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.adn Access.BlankProjectTemplate.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /NEWDB “%1″
.adp Access.Project.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.adt WMP11.AssocFile.ADTS “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.adts WMP11.AssocFile.ADTS “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.AIF WMP11.AssocFile.AIFF “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.AIFC WMP11.AssocFile.AIFF “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.AIFF WMP11.AssocFile.AIFF “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.ani anifile
.apk apkfile d:Program Files (x86)ROMasterLabApkInstaller.exe %1
.appcontent-ms ApplicationContent
.application Application.Manifest “C:WindowsSystem32rundll32.exe” “C:WindowsSystem32dfshim.dll”,ShOpenVerbApplication %1
.appref-ms Application.Reference “C:WindowsSystem32rundll32.exe” “C:WindowsSystem32dfshim.dll”,ShOpenVerbShortcut %1|%2
.appxmanifest VisualStudio.appxmanifest.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.asa aspfile
.asax VisualStudio.asax.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.ascx VisualStudio.ascx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.ASF WMP11.AssocFile.ASF “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:7 /Open “%L”
.ashx VisualStudio.ashx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.asm VisualStudio.asm.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.asmx VisualStudio.asmx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.asp aspfile
.aspx VisualStudio.aspx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.ASX WMP11.AssocFile.ASX “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.AU WMP11.AssocFile.AU “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.avi WMP11.AssocFile.AVI “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:8 /Open “%L”
.avs avsfile notepad.exe “%1″
.avsi avs_auto_file notepad.exe “%1″
.aw AWFile
.bat batfile “%1″ %*
.bdcm VisualStudio.bdcm.10.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.bdcr VisualStudio.bdcr.10.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.blg Diagnostic.Perfmon.Document %SystemRoot%system32perfmon /sys /open “%1″
.bmp Paint.Picture %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.bsc VisualStudio.bsc.12.0
.c VisualStudio.c.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.cab CABFolder %SystemRoot%Explorer.exe /idlist,%I,%L
.camp campfile
.cat CATFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenCAT %1
.cc VisualStudio.cc.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.ccproj VisualStudio.ccproj.1.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.cd VisualStudio.cd.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.CDA WMP11.AssocFile.CDA “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.cdmp cdmpfile
.cdx aspfile
.cdxml Microsoft.PowerShellCmdletDefinitionXML.1
.cer CERFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenCER %1
.chk chkfile
.chm chm.file “%SystemRoot%hh.exe” %1
.classdiagram VisualStudio.classdiagram.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde “%1″
.cmd cmdfile “%1″ %*
.cod VisualStudio.cod.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.coffee VisualStudio.coffee.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.com comfile “%1″ %*
.componentdiagram VisualStudio.componentdiagram.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde “%1″
.compositefont Windows.CompositeFont “%SystemRoot%System32notepad.exe” “%1″
.config VisualStudio.config.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.contact contact_wab_auto_file “%ProgramFiles%Windows Mailwab.exe” /contact “%1″
.coverage VisualStudio.coverage.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.coveragexml VisualStudio.coveragexml.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.cpl cplfile
.cpp VisualStudio.cpp.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.crl CRLFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenCRL %1
.crt CERFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenCER %1
.crtx CRTXFile
.cs VisualStudio.cs.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.cscfg VisualStudio.cscfg.1.0
.csdef VisualStudio.csdef.1.0
.cshtml VisualStudio.cshtml.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.cspkg VisualStudio.cspkg.1.0
.csproj VisualStudio.Launcher.csproj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.css CSSfile
.csv Excel.CSV “D:Program FilesMicrosoft OfficeOffice15EXCEL.EXE” /dde
.cur curfile
.cxx VisualStudio.cxx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.dacpac ssms.dacpac.11.0
.datasource VisualStudio.datasource.12.0
.db dbfile
.dbml VisualStudio.ORDesigner.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.dctx IMEDictionaryCompiler “%WINDIR%system32IMESHAREDimewdbld.exe” “%1″ %*
.dctxc IMEDictionaryCompiler “%WINDIR%system32IMESHAREDimewdbld.exe” “%1″ %*
.dds ddsfile
.def VisualStudio.def.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.der CERFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenCER %1
.desklink CLSID{9E56BE61-C50F-11CF-9A2C-00A0C90A90CE}
.deskthemepack desktopthemepackfile %SystemRoot%system32rundll32.exe %SystemRoot%system32themecpl.dll,OpenThemeAction %1
.det Outlook.File.det.15
.dgml VisualStudio.dgml.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.dgsl VisualStudio.dgsl.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.diagcab Diagnostic.Cabinet %SystemRoot%system32msdt.exe /cab “%1″
.diagcfg Diagnostic.Config %SystemRoot%system32msdt.exe /path “%1″
.diagpkg Diagnostic.Document %SystemRoot%system32msdt.exe /path “%1″
.diagsession VisualStudio.diagsession.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.dib Paint.Picture %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.dic txtfile %SystemRoot%system32NOTEPAD.EXE %1
.disco VisualStudio.disco.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.dll dllfile
.dmp VisualStudio.dmp.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.doc Word.Document.8 “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE” /n “%1″ /o “%u”
.dochtml wordhtmlfile “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE”
.docm Word.DocumentMacroEnabled.12 “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE” /n “%1″ /o “%u”
.docmhtml wordmhtmlfile
.docx Word.Document.12 “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE” /n “%1″ /o “%u”
.docxml wordxmlfile
.dot Word.Template.8 “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE” /n “%1″ /o “%u”
.dothtml wordhtmltemplate “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE”
.dotm Word.TemplateMacroEnabled.12 “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE” /n “%1″ /o “%u”
.dotx Word.Template.12 “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE” /n “%1″ /o “%u”
.dqy dqyfile D:PROGRA~2MICROS~1Office15EXCEL.EXE
.drv drvfile
.dsn MSDASQL
.dsp VisualStudio.dsp.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.dsw VisualStudio.dsw.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.dtd VisualStudio.dtd.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.dwfx Windows.XPSReachViewer %SystemRoot%System32xpsrchvw.exe “%1″ %*
.easmx Windows.XPSReachViewer %SystemRoot%System32xpsrchvw.exe “%1″ %*
.ect VisualStudio.SharePoint.ect.11.0
.edmx VisualStudio.edmx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.edrwx Windows.XPSReachViewer %SystemRoot%System32xpsrchvw.exe “%1″ %*
.elm ELMFile
.emf emffile “%systemroot%system32mspaint.exe” “%1″
.eml Outlook.File.eml.15 D:PROGRA~2MICROS~1Office15OUTLOOK.EXE /eml “%1″
.eprtx Windows.XPSReachViewer %SystemRoot%System32xpsrchvw.exe “%1″ %*
.etl wpa.etl_file C:Program Files (x86)Windows Kits8.1Windows Performance Toolkitwpa.exe “%1″
.evt evtfile %SystemRoot%system32eventvwr.exe /l:”%1″
.evtx evtxfile %SystemRoot%system32eventvwr.exe /l:”%1″
.exc txtfile %SystemRoot%system32NOTEPAD.EXE %1
.exe exefile “%1″ %*
.exp VisualStudio.exp.12.0
.fbx VisualStudio.fbx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.fdm Outlook.File.fdm.15
.feature VisualStudio.SharePoint.feature.11.0
.feedback Expression.SketchFlow.feedback.12.0
.filters VisualStudio.vcxproj.filters.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.flow Expression.SketchFlow.flow.12.0
.fon fonfile
.fs VisualStudio.fs.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.fsi VisualStudio.fsi.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.fsproj VisualStudio.Launcher.fsproj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.fsscript VisualStudio.fsscript.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.fsx VisualStudio.fsx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.fx VisualStudio.fx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.gcsx GCSXFile
.generictest VisualStudio.generictest.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.gif giffile “C:Program FilesInternet Exploreriexplore.exe” %1
.glox GLOXFile
.gmmp gmmpfile
.gqsx GQSXFile
.gra MSGraph.Chart.8
.group group_wab_auto_file “%ProgramFiles%Windows Mailwab.exe” /Group “%1″
.grp MSProgramGroup
.h VisualStudio.h.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.hdmp VisualStudio.hdmp.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.hh VisualStudio.hh.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.hlp hlpfile %SystemRoot%winhlp32.exe %1
.hlsl VisualStudio.hlsl.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.hlsli VisualStudio.hlsli.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.hol Outlook.File.hol.15 “D:Program FilesMicrosoft OfficeOffice15OUTLOOK.EXE” /hol “%1″
.hpp VisualStudio.hpp.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.hta htafile C:WindowsSysWOW64mshta.exe “%1″ {1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}%U{1E460BD7-F1C3-4B2E-88BF-4E770A288AF5} %*
.htm htmlfile “C:Program FilesInternet Exploreriexplore.exe” %1
.html htmlfile “C:Program FilesInternet Exploreriexplore.exe” %1
.hxa MSHelp.hxa.2.5
.hxc MSHelp.hxc.2.5
.hxd MSHelp.hxd.2.5
.hxe MSHelp.hxe.2.5
.hxf MSHelp.hxf.2.5
.hxh MSHelp.hxh.2.5
.hxi MSHelp.hxi.2.5
.hxk MSHelp.hxk.2.5
.hxq MSHelp.hxq.2.5
.hxr MSHelp.hxr.2.5
.hxs MSHelp.hxs.2.5
.hxt MSHelp.hxt.2.5
.hxv MSHelp.hxv.2.5
.hxw MSHelp.hxa.2.5
.hxx VisualStudio.hxx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.i VisualStudio.i.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.icc icmfile
.icl IconLibraryFile
.icm icmfile
.ico icofile %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.ics Outlook.File.ics.15 “D:Program FilesMicrosoft OfficeOffice15OUTLOOK.EXE” /ical “%1″
.idb VisualStudio.idb.12.0
.idl VisualStudio.idl.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.ilk VisualStudio.ilk.12.0
.imesx imesxfile “%WINDIR%system32IMESHAREDimesearch.exe” “%1″
.img Windows.IsoFile
.inc VisualStudio.inc.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.inf inffile %SystemRoot%system32NOTEPAD.EXE %1
.infopathxml InfoPath.Document.4 “D:Program FilesMicrosoft OfficeOffice15INFOPATH.EXE” “%1″
.ini inifile %SystemRoot%system32NOTEPAD.EXE %1
.inl VisualStudio.inl.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.iqy iqyfile D:PROGRA~2MICROS~1Office15EXCEL.EXE /dde
.iso Windows.IsoFile
.iTrace VisualStudio.itrace.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.IVF IVFfile RunDll32.exe C:WindowsSysWOW64wmpdxm.dll,RunDll /play %1
.jfif pjpegfile %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.jnt jntfile “%ProgramFiles%Windows JournalJournal.exe” “%1″
.Job JobObject
.jod Microsoft.Jet.OLEDB.4.0
.jpe jpegfile %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.jpeg jpegfile %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.jpg jpegfile %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.js JSFile C:WindowsSystem32WScript.exe “%1″ %*
.JSE JSEFile C:WindowsSystem32WScript.exe “%1″ %*
.json VisualStudio.json.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.jsproj VisualStudio.Launcher.jsproj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.jtp jtpfile “%ProgramFiles%Windows JournalJournal.exe” “%1″
.jtx Windows.XPSReachViewer %SystemRoot%System32xpsrchvw.exe “%1″ %*
.jxr wdpfile %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.label Label
.laccdb Access.LockFile.15
.layerdiagram VisualStudio.layerdiagram.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde “%1″
.ldb Access.LockFile.15
.less VisualStudio.less.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.lex LEXFile
.lib VisualStudio.lib.12.0
.library-ms LibraryFolder
.lic VisualStudio.lic.12.0
.lnk lnkfile
.loadtest VisualStudio.loadtest.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.log txtfile %SystemRoot%system32NOTEPAD.EXE %1
.ls3proj VisualStudio.Launcher.ls3proj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.lsproj VisualStudio.Launcher.lsproj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.lst VisualStudio.lst.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.lsxproj VisualStudio.Launcher.lsxproj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.lsxtproj VisualStudio.Launcher.lsxtproj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.lvr VisualStudio.lvr.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDELEViewer.exe” /openFile:”%1″ /tfsUri:”%2″
.M1V WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.m2t WMP11.AssocFile.M2TS “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:12 /Open “%L”
.m2ts WMP11.AssocFile.M2TS “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:12 /Open “%L”
.M2V WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.M3U WMP11.AssocFile.m3u “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.M4A WMP11.AssocFile.M4A “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.m4v WMP11.AssocFile.MP4 “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.mad Access.Shortcut.Module.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [OpenModule “%1″]
.maf Access.Shortcut.Form.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [OpenForm “%1″]
.mag Access.Shortcut.Diagram.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [OpenDiagram “%1″]
.mak VisualStudio.mak.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.mam Access.Shortcut.Macro.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [ShellOpenMacro “%1″]
.map VisualStudio.map.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.mapimail CLSID{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}
.maq Access.Shortcut.Query.1 D:PROGRA~2MICROS~1Office15MSACCESS.EXE /NOSTARTUP /SHELLSYSTEM [OpenQuery “%1″]
.mar Access.Shortcut.Report.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [OpenReport “%1″, 2]
.mas Access.Shortcut.StoredProcedure.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [OpenStoredProcedure “%1″]
.master VisualStudio.master.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.mat Access.Shortcut.Table.1 D:PROGRA~2MICROS~1Office15MSACCESS.EXE /NOSTARTUP /SHELLSYSTEM [OpenTable “%1″]
.mau Access.Shortcut.Function.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /SHELLSYSTEM [OpenFunction “%1″]
.mav Access.Shortcut.View.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [OpenView “%1″]
.maw Access.Shortcut.DataAccessPage.1 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /SHELLSYSTEM [OpenDataAccessPage “%1″]
.mda Access.Extension.15 D:PROGRA~2MICROS~1Office15MSACCESS.EXE /NOSTARTUP “%1″
.mdb Access.MDBFile “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.mdbhtml accesshtmlfile “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE”
.mde Access.MDEFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″ %2 %3 %4 %5 %6 %7 %8 %9
.mdmp VisualStudio.mdmp.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.mdn Access.BlankDatabaseTemplate.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP /NEWDB “%1″
.mdp VisualStudio.mdp.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.mdt Access.WizardDataFile.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″
.mdw Access.Workgroup.15 “D:Program FilesMicrosoft OfficeOffice15MSACCESS.EXE” /NOSTARTUP “%1″
.mfcribbon-ms VisualStudio.mfcribbon-ms.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.mfp MacromediaFlashPaper.MacromediaFlashPaper “%ProgramFiles%Internet Exploreriexplore.exe” “%1″
.mht mhtmlfile “C:Program FilesInternet Exploreriexplore.exe” %1
.mhtml mhtmlfile “C:Program FilesInternet Exploreriexplore.exe” %1
.MID WMP11.AssocFile.MIDI “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.MIDI WMP11.AssocFile.MIDI “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /Open “%L”
.mig migfile “C:WindowsSystem32migwizmigwiz.exe” /Restore “%1″
.mk VisualStudio.mk.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” “%1″
.mlc LpkSetup.1
.MOD WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.modelproj VisualStudio.Launcher.modelproj.12.0 “C:Program Files (x86)Common FilesMicrosoft SharedMSEnvVSLauncher.exe” “%1″
.mov WMP11.AssocFile.MOV “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.MP2 WMP11.AssocFile.MP3 “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.MP2V WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.mp3 WMP11.AssocFile.MP3 “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.mp4 WMP11.AssocFile.MP4 “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.mp4v WMP11.AssocFile.MP4 “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:6 /Open “%L”
.mpa WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.MPE WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.MPEG WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.MPG WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.MPV2 WMP11.AssocFile.MPEG “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:9 /Open “%L”
.ms-one-stub Groove.SPFS.OneNoteStub “D:Program FilesMicrosoft OfficeOffice15GROOVE.EXE” /OneNoteStub: “%1″
.msc MSCFile %SystemRoot%system32mmc.exe “%1″ %*
.msg Outlook.File.msg.15 “D:Program FilesMicrosoft OfficeOffice15OUTLOOK.EXE” /f “%1″
.msi Msi.Package “%SystemRoot%System32msiexec.exe” /i “%1″ %*
.msp Msi.Patch “%SystemRoot%System32msiexec.exe” /p “%1″ %*
.msrcincident RemoteAssistance.1 “%systemRoot%system32msra.exe” -openfile “%1″
.msstyles msstylesfile %SystemRoot%system32rundll32.exe %SystemRoot%system32shell32.dll,Control_RunDLL %SystemRoot%system32desk.cpl desk,@Appearance /Action:OpenMSTheme /file:”%1″
.msu Microsoft.System.Update.1 “%systemroot%system32wusa.exe” “%1″ %*
.mts WMP11.AssocFile.M2TS “%ProgramFiles(x86)%Windows Media Playerwmplayer.exe” /prefetch:12 /Open “%L”
.mtx VisualStudio.mtx.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.mydocs CLSID{ECF03A32-103D-11d2-854D-006008059367}
.ncb VisualStudio.ncb.12.0
.nfo MSInfoFile %SystemRoot%system32msinfo32.exe “%1″
.nk2 Outlook.File.nk2.15
.obj VisualStudio.obj.12.0
.ocx ocxfile
.odc odcfile
.odccubefile odccubefile
.odcdatabasefile odcdatabasefile
.odcnewfile odcnewfile
.odctablecollectionfile odctablecollectionfile
.odctablefile odctablefile
.odh VisualStudio.odh.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.odl VisualStudio.odl.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.odp PowerPoint.OpenDocumentPresentation.12 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” “%1″ /ou “%u”
.ods Excel.OpenDocumentSpreadsheet.12 “D:Program FilesMicrosoft OfficeOffice15EXCEL.EXE” /dde
.odt Word.OpenDocumentText.12 “D:Program FilesMicrosoft OfficeOffice15WINWORD.EXE” /n “%1″
.ofs Outlook.File.ofs.15
.oft Outlook.File.oft.15 “D:Program FilesMicrosoft OfficeOffice15OUTLOOK.EXE” /t “%1″
.ols OfficeListShortcut “D:Program FilesMicrosoft OfficeOffice15MSPUB.EXE” %1
.one OneNote.Section.1 “D:Program FilesMicrosoft OfficeOffice15ONENOTE.EXE” “%1″
.onepkg OneNote.Package “D:Program FilesMicrosoft OfficeOffice15ONENOTE.EXE” “%1″
.onetoc OneNote.TableOfContents “D:Program FilesMicrosoft OfficeOffice15ONENOTE.EXE” /navigate “%1″
.onetoc2 OneNote.TableOfContents.12 “D:Program FilesMicrosoft OfficeOffice15ONENOTE.EXE” /navigate “%1″
.opc OPCFile
.oqy oqyfile
.orderedtest VisualStudio.orderedtest.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.osdx opensearchdescription %SystemRoot%explorer.exe
.ost Outlook.File.ost.15
.otf otffile
.otm Outlook.File.otm.15
.oxps Windows.XPSReachViewer %SystemRoot%System32xpsrchvw.exe “%1″ %*
.p10 P10File
.p12 PFXFile
.p7b SPCFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenPKCS7 %1
.p7c certificate_wab_auto_file “%ProgramFiles%Windows Mailwab.exe” /certificate “%1″
.p7m P7MFile
.p7r P7RFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenP7R %1
.p7s P7SFile %SystemRoot%system32rundll32.exe cryptext.dll,CryptExtOpenPKCS7 %1
.pab Outlook.File.pab.15
.package VisualStudio.SharePoint.package.11.0
.pal VisualStudio.pal.12.0
.pano Panoramic File
.partial IE.AssocFile.PARTIAL “C:Program FilesInternet Exploreriexplore.exe” %1
.pbk pbkfile %SystemRoot%system32rasphone.exe -f “%1″
.pcb PCBFile
.pch VisualStudio.pch.12.0
.pdb VisualStudio.pdb.12.0
.perfmoncfg Diagnostic.Perfmon.Config %SystemRoot%system32perfmon /sys /load “%1″
.pfm pfmfile
.pfx PFXFile
.pif piffile “%1″ %*
.pkgdef VisualStudio.pkgdef.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.pkgundef VisualStudio.pkgundef.12.0 “D:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe” /dde
.pko PKOFile
.pnf pnffile
.png pngfile %SystemRoot%System32rundll32.exe “%ProgramFiles%Windows Photo ViewerPhotoViewer.dll”, ImageView_Fullscreen %1
.pot PowerPoint.Template.8 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” “%1″ /ou “%u”
.pothtml powerpointhtmltemplate “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE”
.potm PowerPoint.TemplateMacroEnabled.12 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” “%1″ /ou “%u”
.potx PowerPoint.Template.12 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” “%1″ /ou “%u”
.ppa PowerPoint.Addin.8 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” “%1″
.ppam PowerPoint.Addin.12 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” “%1″ /ou “%u”
.pps PowerPoint.SlideShow.8 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” /s “%1″ /ou “%u”
.ppsm PowerPoint.SlideShowMacroEnabled.12 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” /s “%1″ /ou “%u”
.ppsx PowerPoint.SlideShow.12 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” /s “%1″ /ou “%u”
.ppt PowerPoint.Show.8 “D:Program FilesMicrosoft OfficeOffice15POWERPNT.EXE” “%1″ /ou “%u”