Команда assoc

Описание команды assoc

Команда ASSOC используется для отображения и изменения сопоставлений расширений и типов файлов. 

Формат командной строки ASSOC

ASSOC [.рсш[=[типФайла]]]

Параметры командной строки ASSOC

.рсшРасширение имени файла, сопоставляемое типу файлов.
типФайлаТип файлов, сопоставляемый расширению имени файлов.

Команда ASSOC без параметров выводит список сопоставлений типов файлов.

Если указано только расширение имени файла, выводится сопоставленный тип файлов для расширения. Если после знака равенства не указан тип.

Примеры использования ASSOC

assocОтобразить список всех сопоставлений расширений и типов.

assoc

.386=vxdfile

.3g2=WMP11.AssocFile.3G2

.3ga=VLC.3ga

.3gp=WMP11.AssocFile.3GP

.3gp2=WMP11.AssocFile.3G2

.3gpp=WMP11.AssocFile.3GP

.669=VLC.669

.a52=VLC.a52

.AAC=WMP11.AssocFile.ADTS

.accountpicture-ms=accountpicturefile

.acl=ACLFile

.ADT=WMP11.AssocFile.ADTS

.ADTS=WMP11.AssocFile.ADTS

.aif=VLC.aif

.aifc=VLC.aifc

.aiff=VLC.aiff

.amv=VLC.amv

.ani=anifile

.aob=VLC.aob

.ape=VLC.ape

.apk=Nox.apk

.appcontent-ms=ApplicationContent

.application=Application.Manifest

.appref-ms=Application.Reference

.asa=aspfile

.asd=Word.AutoRecovery.8

.asf=WMP11.AssocFile.ASF

.asp=aspfile

.asx=VLC.asx

.au=VLC.au

.avi=WMP11.AssocFile.AVI

.aw=AWFile

.b4s=VLC.b4s

.bat=batfile

.bik=VLC.bik

.blg=Diagnostic.Perfmon.Document

.bmp=Paint.Picture

.cab=CABFolder

.caf=VLC.caf

.camp=campfile

.cat=CATFile

.cda=VLC.cda

.cdmp=cdmpfile

.cdr=CorelDraw.Graphic.22

.cdrt=CorelDraw.Graphic.22

.cdt=CorelDraw.Graphic.22

.cdx=aspfile

.cdxml=Microsoft.PowerShellCmdletDefinitionXML.1

.cer=CERFile

.chk=chkfile

.chm=chm.file

.CLK=CorelDraw.Graphic.22

.cmd=cmdfile

.cmx=CorelDRAW.CMX.22

.com=comfile

.compositefont=Windows.CompositeFont

.corelextension=zcf.corelextension

.cpl=cplfile

.cpt=CorelPHOTOPAINT.Image.22

.crl=CRLFile

.crt=CERFile

.crtx=CRTXFile

.csl=CorelDraw.Graphic.22

.css=CSSfile

.csv=Excel.CSV

.cue=VLC.cue

.cur=curfile

.db=dbfile

.dctx=IMEDictionaryCompiler

.dctxc=IMEDictionaryCompiler

.dds=ddsfile

.der=CERFile

.DES=CorelDESIGNER.Graphic.22

.desklink=CLSID\{9E56BE61-C50F-11CF-9A2C-00A0C90A90CE}

.deskthemepack=desktopthemepackfile

.diagcab=Diagnostic.Cabinet

.diagcfg=Diagnostic.Config

.diagpkg=Diagnostic.Document

.dib=Paint.Picture

.dic=txtfile

.dll=dllfile

.doc=Word.Document.8

.dochtml=wordhtmlfile

.docm=Word.DocumentMacroEnabled.12

.docmhtml=wordmhtmlfile

.docx=Word.Document.12

.docxml=wordxmlfile

.dot=Word.Template.8

.dothtml=wordhtmltemplate

.dotm=Word.TemplateMacroEnabled.12

.dotx=Word.Template.12

.dqy=dqyfile

.drc=VLC.drc

.drv=drvfile

.dsn=MSDASQL

.dts=VLC.dts

.dv=VLC.dv

.dvr-ms=VLC.dvr-ms

.elm=ELMFile

.emf=emffile

.eml=Microsoft Email Message

.evo=VLC.evo

.evt=evtfile

.evtx=evtxfile

.exc=txtfile

.exe=exefile

.f4v=VLC.f4v

.fill=zcf.fillfile

.flac=WMP11.AssocFile.FLAC

.flv=VLC.flv

.fon=fonfile

.gcsx=GCSXFile

.gif=giffile

.glox=GLOXFile

.gmmp=gmmpfile

.gqsx=GQSXFile

.gra=MSGraph.Chart.8

.grp=MSProgramGroup

.gvi=VLC.gvi

.gxf=VLC.gxf

.hlp=hlpfile

.hta=htafile

.htm=htmlfile

.html=htmlfile

.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

.icc=icmfile

.icl=IconLibraryFile

.icm=icmfile

.ico=icofile

.ifo=VLC.ifo

.igp=Intel.GraphicsControlPanel.igp.1

.imesx=imesxfile

.img=Windows.IsoFile

.inf=inffile

.ini=inifile

.ino=Arduino file

.iqy=iqyfile

.iso=Windows.IsoFile

.it=VLC.it

.jfif=pjpegfile

.Job=JobObject

.jod=Microsoft.Jet.OLEDB.4.0

.jpe=jpegfile

.jpeg=jpegfile

.jpg=jpegfile

.js=JSFile

.JSE=JSEFile

.jxr=wdpfile

.label=Label

.lex=LEXFile

.library-ms=LibraryFolder

.lnk=lnkfile

.log=txtfile

.m1v=WMP11.AssocFile.MPEG

.M2T=WMP11.AssocFile.M2TS

.M2TS=WMP11.AssocFile.M2TS

.M2V=WMP11.AssocFile.MPEG

.m3u=WMP11.AssocFile.m3u

.m3u8=VLC.m3u8

.m4a=WMP11.AssocFile.M4A

.m4p=VLC.m4p

.m4v=WMP11.AssocFile.MP4

.mapimail=CLSID\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}

.mht=mhtmlfile

.mhtml=mhtmlfile

.mid=VLC.mid

.midi=WMP11.AssocFile.MIDI

.mk3d=WMP11.AssocFile.MK3D

.mka=WMP11.AssocFile.MKA

.mkv=WMP11.AssocFile.MKV

.mlc=LpkSetup.1

.mlp=VLC.mlp

.MOD=WMP11.AssocFile.MPEG

.mov=WMP11.AssocFile.MOV

.mp1=VLC.mp1

.mp2=VLC.mp2

.mp2v=WMP11.AssocFile.MPEG

.mp3=WMP11.AssocFile.MP3

.mp4=VLC.mp4

.mp4v=WMP11.AssocFile.MP4

.mpa=WMP11.AssocFile.MPEG

.mpc=VLC.mpc

.mpe=WMP11.AssocFile.MPEG

.mpeg=WMP11.AssocFile.MPEG

.mpeg1=VLC.mpeg1

.mpeg2=VLC.mpeg2

.mpeg4=VLC.mpeg4

.mpg=WMP11.AssocFile.MPEG

.mpga=VLC.mpga

.mpv2=WMP11.AssocFile.MPEG

.ms-windows-store-license=WindowsStore.License

.msc=MSCFile

.msi=Msi.Package

.msp=Msi.Patch

.msrcincident=RemoteAssistance.1

.msstyles=msstylesfile

.msu=Microsoft.System.Update.1

.MTS=WMP11.AssocFile.M2TS

.mtv=VLC.mtv

.mxf=VLC.mxf

.mydocs=CLSID\{ECF03A32-103D-11d2-854D-006008059367}

.nfo=MSInfoFile

.npbk=Nox.npbk

.nsv=VLC.nsv

.nuv=VLC.nuv

.ocx=ocxfile

.odc=odcfile

.odccubefile=odccubefile

.odcdatabasefile=odcdatabasefile

.odcnewfile=odcnewfile

.odctablecollectionfile=odctablecollectionfile

.odctablefile=odctablefile

.ods=Excel.OpenDocumentSpreadsheet.12

.odt=Word.OpenDocumentText.12

.oma=VLC.oma

.opc=OPCFile

.oqy=oqyfile

.osdx=opensearchdescription

.otf=otffile

.ovpn=OVPNProfileAssociation

.p10=P10File

.p12=PFXFile

.p7b=SPCFile

.p7c=certificate_wab_auto_file

.p7m=P7MFile

.p7r=P7RFile

.p7s=P7SFile

.partial=IE.AssocFile.PARTIAL

.pbk=pbkfile

.pdf=PDF24.Reader

.perfmoncfg=Diagnostic.Perfmon.Config

.pfm=pfmfile

.pfx=PFXFile

.pif=piffile

.pko=PKOFile

.pls=VLC.pls

.pnf=pnffile

.png=pngfile

.ppk=PPK_Assoc_ProgId

.ppkg=Microsoft.ProvTool.Provisioning.1

.prf=prffile

.printerExport=brmFile

.ps1=Microsoft.PowerShellScript.1

.ps1xml=Microsoft.PowerShellXMLData.1

.psb=Photoshop.PSBFile.140

.psc1=Microsoft.PowerShellConsole.1

.psd1=Microsoft.PowerShellData.1

.psdt=Photoshop.PSDTFile.140

.psm1=Microsoft.PowerShellModule.1

.pssc=Microsoft.PowerShellSessionConfiguration.1

.qcp=VLC.qcp

.qds=SavedDsQuery

.ra=VLC.ra

.ram=VLC.ram

.rat=ratfile

.RDP=RDP.File

.rec=VLC.rec

.reg=regfile

.rels=xmlfile

.resmoncfg=Diagnostic.Resmon.Config

.rle=rlefile

.rll=dllfile

.rm=VLC.rm

.rmi=VLC.rmi

.rmvb=VLC.rmvb

.rpl=VLC.rpl

.rqy=rqyfile

.rtf=Word.RTF.8

.s3m=VLC.s3m

.scf=SHCmdFile

.scp=txtfile

.scr=scrfile

.sdp=VLC.sdp

.search-ms=SearchFolder

.searchConnector-ms=SearchConnectorFolder

.settingcontent-ms=SettingContent

.sfcache=RDBFileProperties.1

.slk=Excel.SLK

.snd=VLC.snd

.spc=SPCFile

.spx=VLC.spx

.sst=CertificateStoreFile

.svg=svgfile

.symlink=.symlink

.sys=sysfile

.theme=themefile

.themepack=themepackfile

.thp=VLC.thp

.tif=TIFImage.Document

.tiff=TIFImage.Document

.tp=VLC.tp

.tpsr=TeamViewerPilotSessionReporting

.tray=CorelCONNECT.Tray.7

.TS=WMP11.AssocFile.TTS

.tta=VLC.tta

.ttc=ttcfile

.ttf=ttffile

.TTS=WMP11.AssocFile.TTS

.tvc=TeamViewerConfiguration

.tvlink=InternetShortcut

.tvs=TeamViewerSession

.txt=txtfile

.UDL=MSDASC

.URL=InternetShortcut

.uxdc=UXDCFILE

.VBE=VBEFile

.vbs=VBSFile

.vdw=VisioViewer.Viewer

.vdx=VisioViewer.Viewer

.vhd=Windows.VhdFile

.vhdpmem=Windows.VhdPmemFile

.vhdx=Windows.VhdFile

.vlc=VLC.vlc

.vob=VLC.vob

.voc=VLC.voc

.vqf=VLC.vqf

.vro=VLC.vro

.vsd=VisioViewer.Viewer

.vsdm=VisioViewer.Viewer

.vsdx=VisioViewer.Viewer

.vss=VisioViewer.Viewer

.vssm=VisioViewer.Viewer

.vssx=VisioViewer.Viewer

.vst=VisioViewer.Viewer

.vstm=VisioViewer.Viewer

.vsto=bootstrap.vsto.1

.vstx=VisioViewer.Viewer

.vsx=VisioViewer.Viewer

.vtx=VisioViewer.Viewer

.vxd=vxdfile

.w64=VLC.w64

.wab=wab_auto_file

.wav=WMP11.AssocFile.WAV

.wax=WMP11.AssocFile.WAX

.wbcat=wbcatfile

.wbk=Word.Backup.8

.wcx=wcxfile

.wdp=wdpfile

.webpnp=webpnpFile

.website=Microsoft.Website

.wiz=Word.Wizard.8

.wll=Word.Addin.8

.wm=WMP11.AssocFile.ASF

.wma=WMP11.AssocFile.WMA

.WMD=WMP11.AssocFile.WMD

.wmdb=WMP.WMDBFile

.wmf=wmffile

.WMS=WMP11.AssocFile.WMS

.wmv=WMP11.AssocFile.WMV

.wmx=WMP11.AssocFile.ASX

.wmz=WMP11.AssocFile.WMZ

.wpl=WMP11.AssocFile.WPL

.wsc=scriptletfile

.WSF=WSFFile

.WSH=WSHFile

.WTV=VLC.wtv

.wtx=txtfile

.wv=VLC.wv

.wvx=VLC.wvx

.xa=VLC.xa

.xaml=Windows.XamlDocument

.xbap=Windows.Xbap

.xesc=VLC.xesc

.xevgenxml=XEV.GenericApp

.xht=xhtmlfile

.xhtml=xhtmlfile

.xla=Excel.Addin

.xlam=Excel.AddInMacroEnabled

.xld=Excel.Dialog

.xlk=Excel.Backup

.xll=Excel.XLL

.xlm=Excel.Macrosheet

.xls=Excel.Sheet.8

.xlsb=Excel.SheetBinaryMacroEnabled.12

.xlshtml=Excelhtmlfile

.xlsm=Excel.SheetMacroEnabled.12

.xlsmhtml=excelmhtmlfile

.xlsx=Excel.Sheet.12

.xlt=Excel.Template.8

.xlthtml=Excelhtmltemplate

.xltm=Excel.TemplateMacroEnabled

.xltx=Excel.Template

.xlw=Excel.Workspace

.xlxml=Excelxmlss

.xm=VLC.xm

.xml=xmlfile

.xrm-ms=MSSppLicenseFile

.xsl=xslfile

.xspf=VLC.xspf

.ZFSendToTarget=CLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}

.zip=CompressedFolder

assoc .xlsОтобразить тип файла для расширения .xls
assoc .mp4=VLC.mp4Установить для расширения файла .mp4 тип VLC.mp4Чтобы определить какой программой обрабатывается расширение файла и узнать формат командной строки, воспользуйтесь командой FTYPE.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *