I need to restore a deleted BAT file extension association...

Hello;

I have WinXP Pro SP2...

I need to restore the BAT file extension, to "(explorer window menu)> Tools > File Types" - it was accidentally removed from there, and my batch files will not execute, and keep asking me "What program do you want to run this type of file <browse> etc...

I try to put it back in, but I don't know what to put for "Application used to perform action:"

H E L P ! ... please? :(

Thank-You.
9 answers Last reply
More about restore deleted file extension association
  1. Try c:\windows\system32\command.com. If that doesn't work, try c:\windows\system32\cmd.exe
  2. thank you for responding...

    unfortunately, neither one worked. :cry:
  3. Found this

    http://www.dougknox.com/xp/file_assoc.htm

    EDIT - registry setting I posted was included in the above fix.
  4. I appreciate your response...

    unfortunately as well, this did not work either. :(
  5. gumby777 said:
    I appreciate your response...

    unfortunately as well, this did not work either. :(


    You can try a System Resotre then to a date before this happened, odd that the registry fix did not help.

    http://www.microsoft.com/windowsxp/using/helpandsupport/getstarted/ballew_03may19.mspx, how to restore is about half-way down the page.
  6. I turn system restore off, because whenever I try to use it, it can't restore anything, so why have it. Do you know the dll/app/process that executes a batch file? Maybe a command line, or something? :??:
  7. I WAS ABLE TO FIND THE SOLUTION MYSELF... :bounce:

    HERE IS ALL YOU WILL NEED, TO FIX ASSOCIATION PROBLEMS:

    From a command prompt;

    assoc .bat
    should return with
    ..bat=batfile
    If not
    assoc .bat=batfile
    to restore the default file type association.

    ftype batfile
    should return with
    batfile="%1" %*
    If not
    ftype batfile="%1" %*
    to restore the default "Open" action for the file type.

    -----------------------------------------
    .!BT=ft000002
    .!ut=!ut_auto_file
    .323=h323file
    .386=vxdfile
    .3g2=
    .3gp=
    .669=Winamp.File.669
    .AAC=Winamp.File.AAC
    .aca=Agent.Character.2
    .ace=WinRAR
    .acf=Agent.Character.2
    .acg=Agent.Preview.2
    .acrobatsecuritysettings=AcroExch.acrobatsecuritysettings
    .acs=Agent.Character2.2
    .acw=acwfile
    .ade=Access.ADEFile.9
    .adn=Access.BlankProjectTemplate.9
    .adp=Access.Project.9
    .ai=
    .aif=AIFFFile
    .aifc=AIFFFile
    .aiff=Winamp.File.aiff
    .air=AIR.InstallerPackage
    .amf=Winamp.File.amf
    .ani=AnimationShop3.Animation
    .api=AcroExch.Plugin
    .application=Application.Manifest
    .appref-ms=Application.Reference
    .aps=
    .arj=WinRAR
    .asa=aspfile
    .ascx=
    .asf=ASFFile
    .asm=
    .asmx=
    .asp=aspfile
    .aspx=
    .asx=Winamp.PlayList
    .au=Winamp.File.au
    .AudioCD=
    .avgdx=
    .avi=avifile
    .avr=Winamp.File.avr
    .B4S=Winamp.PlayList
    .bat=batfile
    .bfc=Briefcase
    .bin=
    .bkf=msbackupfile
    .blg=PerfFile
    .bmp=PI3.Image
    .bsc=
    .bz=WinRAR
    .bz2=WinRAR
    .c=
    .cab=WinRAR
    .caf=Winamp.File.caf
    .cat=CATFile
    .ccd=
    .cda=Winamp.File.CDA
    .cdi=
    .cdr=
    .cdx=aspfile
    .cer=CERFile
    .cgm=
    .chk=chkfile
    .chm=chm.file
    .cil=ClipGalleryDownloadPackage
    .clp=clpfile
    .cmcd=CMCD
    .cmd=cmdfile
    .cnf=ConferenceLink
    .com=comfile
    .cpl=cplfile
    .cpp=
    .crl=CRLFile
    .crt=CERFile
    .css=CSSfile
    .csv=Excel.CSV
    .CTT=MessengerContactList
    .cue=Nero.BurningROM.10.cue.1
    .cur=curfile
    .cxx=
    .dai=Spiralmonkey.DreamAquarium.1
    .dat=
    .db=dbfile
    .dbg=
    .dcr=
    .dct=
    .def=
    .der=CERFile
    .DeskLink=CLSID\{9E56BE61-C50F-11CF-9A2C-00A0C90A90CE}
    .dib=Paint.Picture
    .dic=txtfile
    .dif=Excel.DIF
    .dir=
    .div=divx_div_file
    .divx=divx_divx_file
    .diz=
    .dll=dllfile
    .dl_=
    .doc=Word.Document.8
    .dochtml=wordhtmlfile
    .dos=
    .dot=Word.Template.8
    .dothtml=wordhtmltemplate
    .dps=dpsFile
    .dqy=dqyfile
    .drv=drvfile
    .dsn=ODBC.FileDSN
    .DSU=MVDEXP_DE
    .dun=dunfile
    .dvd=
    .dvr-ms=WMP.DVR-MSFile
    .dxr=
    .dxu=dxuFile
    .emf=emffile
    .eml=Microsoft Internet Mail Message
    .eps=
    .evo=
    .exc=txtfile
    .exe=exefile
    .exp=
    .ex_=
    .eyb=
    .far=Winamp.File.far
    .fav=Outlook.NavigatorBarFile
    .fdf=AcroExch.FDFDoc
    .fif=
    .FLAC=Winamp.File.FLAC
    .flv=Flash.VideoFile
    .fnd=fndfile
    .fnt=
    .Folder=
    .fon=fonfile
    .fphtml=fphtmlfile
    .fpweb=fpdbw
    .fpx=PI3.Image
    .gfi=GraphicsLink.File
    .gfx=GraphicsLink.File
    .ghi=
    .gif=AnimationShop3.Animation
    .gim=GraphicsLink.File
    .gix=GraphicsLink.File
    .gna=GraphicsLink.File
    .gnx=GraphicsLink.File
    .gra=MSGraph.Chart.8
    .grp=MSProgramGroup
    .gwx=GraphicsLink.File
    .gwz=GraphicsLink.File
    .gz=WinRAR
    .h=
    .hhc=
    .hlp=hlpfile
    .hpp=
    .hqx=
    .ht=htfile
    .hta=htafile
    .htc=
    .htk=Winamp.File.htk
    .htm=htmlfile
    .html=htmlfile
    .htt=HTTfile
    .htw=
    .htx=htxfile
    .hxx=
    .ibb=
    .ibq=
    .icc=icmfile
    .icl=iclfile
    .icm=icmfile
    .ico=icofile
    .idb=
    .idl=
    .idq=
    .iff=Winamp.File.iff
    .iii=iiifile
    .ilk=
    .imc=
    .img=Nero.BurningROM.10.img.1
    .inc=
    .inf=inffile
    .ini=inifile
    .ins=x-internet-signup
    .inv=
    .inx=
    .in_=
    .iqy=iqyfile
    .iso=Nero.BurningROM.10.iso.1
    .isp=x-internet-signup
    .it=Winamp.File.it
    .its=ITS File
    .itz=Winamp.File.itz
    .ivf=IVFfile
    .jar=WinRAR
    .java=
    .jbf=
    .jfif=pjpegfile
    .jnlp=JNLPFile
    .job=JobObject
    .jod=Microsoft.Jet.OLEDB.4.0
    .jpe=jpegfile
    .jpeg=jpegfile
    .jpg=PI3.Image
    .js=JSFile
    .JSE=JSEFile
    .key=regfile
    .klnx=CLSID\{9E56BE60-C50F-11CF-9A2C-05E78756}
    .latex=
    .lha=WinRAR
    .lib=
    .lnk=lnkfile
    .local=
    .log=txtfile
    .lva=Logitech.VideoEffectPackageHandler
    .lvf=Logitech.VideoEffectPackageHandler
    .lwv=LWVFile
    .lzh=WinRAR
    .m14=
    .m1v=mpegfile
    .m2ts=
    .m2v=mpegfile
    .m3u=Winamp.PlayList
    .M3U8=Winamp.PlayList
    .m4a=Winamp.File.M4A
    .m4b=m4bFile
    .m4v=m4vFile
    .mad=Access.Shortcut.Module.1
    .maf=Access.Shortcut.Form.1
    .mag=Access.Shortcut.Diagram.1
    .mam=Access.Shortcut.Macro.1
    .man=
    .manifest=
    .MAPIMail=CLSID\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}
    .maq=Access.Shortcut.Query.1
    .mar=Access.Shortcut.Report.1
    .mas=Access.Shortcut.StoredProcedure.1
    .mat=Winamp.File.mat
    .mav=Access.Shortcut.View.1
    .maw=Access.Shortcut.DataAccessPage.1
    .mda=Access.Extension.9
    .mdb=Access.Application.9
    .mdbhtml=accesshtmlfile
    .mde=Access.MDEFile.9
    .mdn=Access.BlankDatabaseTemplate.9
    .mds=
    .mdt=Access.WizardDataFile.9
    .mdw=Access.Workgroup.9
    .mdz=Winamp.File.mdz
    .mfp=MacromediaFlashPaper.MacromediaFlashPaper
    .mht=mhtmlfile
    .mhtml=mhtmlfile
    .mid=midfile
    .midi=midfile
    .mka=mkaFile
    .mkv=CCCP.Matroska.1
    .mmc=MediaCatalog
    .mmf=
    .mmm=MPlayer
    .mng=AnimationShop3.Animation
    .mod=Winamp.File.mod
    .movie=
    .MP1=Winamp.File.MP1
    .mp2=Winamp.File.MP2
    .mp2v=mpegfile
    .mp3=Winamp.File.MP3
    .mp4=Winamp.File.MP4
    .mp4v=mp4vFile
    .mpa=mpegfile
    .mpe=mpegfile
    .mpeg=mpegfile
    .mpg=mpegfile
    .mpv=mpegfile
    .mpv2=mpegfile
    .msc=MSCFile
    .msg=msgfile
    .msi=Msi.Package
    .msp=Msi.Patch
    .MsRcIncident=MsRcIncident
    .msstyles=msstylesfile
    .MSWMM=Windows.Movie.Maker
    .mtm=Winamp.File.mtm
    .mv=
    .MVD=MVDEXP_DB
    .mydocs=CLSID\{ECF03A32-103D-11d2-854D-006008059367}
    .nbs=Nero.BurningROM.10.nbs.1
    .nbv=Nero.BurningROM.10.nbv.1
    .ncb=
    .ncp=Nero.BurningROM.10.ncp.1
    .nds=Nero.BurningROM.10.nds.1
    .neroserial=Nero.ControlCenter.10.neroserial.1
    .nfo=MSInfo.Document
    .nhb=Nero.BurningROM.10.nhb.1
    .nhd=Nero.BurningROM.10.nhd.1
    .nls=
    .NMW=T126_Whiteboard
    .nra=Nero.BurningROM.10.nra.1
    .nrb=Nero.BurningROM.10.nrb.1
    .nrc=Nero.BurningROM.10.nrc.1
    .nrd=Nero.BurningROM.10.nrd.1
    .nre=Nero.BurningROM.10.nre.1
    .nrg=Nero.BurningROM.10.nrg.1
    .nri=Nero.BurningROM.10.nri.1
    .nrm=Nero.BurningROM.10.nrm.1
    .nru=Nero.BurningROM.10.nru.1
    .nsc=
    .nst=Winamp.File.nst
    .nvr=
    .nws=Microsoft Internet News Message
    .obj=
    .ocx=ocxfile
    .oc_=
    .odc=
    .oft=Outlook.Template
    .ogg=Winamp.File.OGG
    .ogm=ogmFile
    .okt=Winamp.File.okt
    .opx=OrgPlusWOPX.4
    .oqy=oqyfile
    .oss=ossfile
    .otf=otffile
    .p10=P10File
    .p12=PFXFile
    .p7b=SPCFile
    .p7c=certificate_wab_auto_file
    .p7m=P7MFile
    .p7r=SPCFile
    .p7s=P7SFile
    .p951=CLSID\{9E56BE60-C50F-11CF-9A2C-E260D156}
    .paf=Winamp.File.paf
    .pbk=pbkfile
    .pcd=PI3.Image
    .pch=
    .pcx=PI3.Image
    .pdb=
    .pdf=AcroExch.Document
    .pdfxml=AcroExch.pdfxml
    .pds=
    .pdx=PDXFileType
    .pfm=pfmfile
    .pfx=PFXFile
    .php3=
    .pic=
    .pif=piffile
    .pko=PKOFile
    .pl=
    .plg=
    .plist=QuickTimePreferences
    .PLS=Winamp.PlayList
    .pma=PerfFile
    .pmc=PerfFile
    .pml=PerfFile
    .pmr=PerfFile
    .pmw=PerfFile
    .pnf=pnffile
    .png=PI3.Image
    .pot=PowerPoint.Template.8
    .pothtml=powerpointhtmltemplate
    .ppa=PowerPoint.Addin.8
    .pps=PowerPoint.SlideShow.8
    .ppt=PowerPoint.Show.8
    .ppthtml=powerpointhtmlfile
    .prf=prffile
    .ps=
    .psd=PI3.Image
    .psw=PSWFile
    .ptm=Winamp.File.ptm
    .pvf=Winamp.File.pvf
    .pwz=PowerPoint.Wizard.8
    .qds=SavedDsQuery
    .qpa=QuickTimePlayerAddition
    .qt=QuickTime.qt
    .qtl=QuickTime.qtl
    .qtp=QuickTimePreferences
    .qtr=QuickTimeResources
    .qts=QuickTimeSystem
    .qtx=QuickTimeExtension
    .r00=WinRAR
    .r01=WinRAR
    .r02=WinRAR
    .r03=WinRAR
    .r04=WinRAR
    .r05=WinRAR
    .r06=WinRAR
    .r07=WinRAR
    .r08=WinRAR
    .r09=WinRAR
    .r10=WinRAR
    .r11=WinRAR
    .r12=WinRAR
    .r13=WinRAR
    .r14=WinRAR
    .r15=WinRAR
    .r16=WinRAR
    .r17=WinRAR
    .r18=WinRAR
    .r19=WinRAR
    .r20=WinRAR
    .r21=WinRAR
    .r22=WinRAR
    .r23=WinRAR
    .r24=WinRAR
    .r25=WinRAR
    .r26=WinRAR
    .r27=WinRAR
    .r28=WinRAR
    .r29=WinRAR
    .rar=WinRAR
    .rat=ratfile
    .raw=Winamp.File.raw
    .rc=
    .RDP=RDP.File
    .reg=regfile
    .res=
    .rev=WinRAR.REV
    .rf64=Winamp.File.rf64
    .rle=
    .rmi=Winamp.File.RMI
    .rnk=rnkfile
    .rpc=
    .rqy=rqyfile
    .rsp=
    .rtf=Word.RTF.8
    .s3m=Winamp.File.s3m
    .s3z=Winamp.File.s3z
    .sam=
    .sbr=
    .SC2=SchedulePlus.Application.7
    .SCD=SchedulePlus.Application.7
    .scf=SHCmdFile
    .SCH=SchedulePlus.Application.7
    .scp=txtfile
    .scr=scrfile
    .sct=scriptletfile
    .sd2=Winamp.File.sd2
    .sdb=appfixfile
    .sds=Winamp.File.sds
    .secstore=AcroExch.SecStore
    .sed=
    .sf=Winamp.File.sf
    .shb=DocShortcut
    .shk=ShortKeys.Multi
    .shs=ShellScrap
    .shtml=
    .shw=
    .sit=
    .skype=Skype.Content
    .slk=Excel.SLK
    .snd=AUFile
    .snp=SnapshotFile
    .sol=
    .sor=
    .spc=SPCFile
    .spl=ShockwaveFlash.ShockwaveFlash
    .sql=
    .sr_=
    .sst=CertificateStoreFile
    .stl=STLFile
    .stm=Winamp.File.stm
    .stz=Winamp.File.stz
    .swf=ShockwaveFlash.ShockwaveFlash
    .sym=
    .sys=sysfile
    .sy_=
    .t101=CLSID\{9E56BE60-C50F-11CF-9A2C-05E78756}
    .tar=WinRAR
    .tbz=WinRAR
    .tbz2=WinRAR
    .text=
    .tga=PI3.Image
    .tgz=WinRAR
    .theme=themefile
    .tif=PI3.Image
    .tiff=TIFImage.Document
    .tix=divx_tix_file
    .tlb=
    .torrent=uTorrent
    .ts=tsFile
    .tsp=
    .tsv=
    .ttc=ttcfile
    .ttf=ttffile
    .tvc=TeamViewerConfiguration
    .tvs=TeamViewerSession
    .txt=txtfile
    .UDL=MSDASC
    .ufo=PI3.Image
    .uls=ulsfile
    .ult=Winamp.File.ult
    .upi=PI3.Image
    .url=InternetShortcut
    .uu=WinRAR
    .uue=WinRAR
    .VBE=VBEFile
    .vbs=VBSFile
    .vbx=
    .vcf=vcard_wab_auto_file
    .VLB=Winamp.File.VLB
    .voc=Winamp.File.voc
    .vxd=vxdfile
    .w64=Winamp.File.w64
    .wab=wab_auto_file
    .wav=Winamp.File.wav
    .wax=WAXFile
    .wb2=
    .wbc=Webshots.Collection
    .wbk=Word.Backup.8
    .wbz=Webshots.Extension
    .wdp=wdpfile
    .webpnp=webpnpFile
    .WHT=Whiteboard
    .wiz=Word.Wizard.8
    .wizhtml=accessthmltemplate
    .wk4=
    .wll=
    .wlt=
    .wlz=
    .wm=ASFFile
    .wma=Winamp.File.WMA
    .wmd=WMDFile
    .wmdb=WMP.WMDBFile
    .wmf=wmffile
    .wmp=
    .wms=WMSFile
    .wmv=WMVFile
    .wmx=ASXFile
    .wmz=WMZFile
    .wpd=
    .wpg=
    .wpl=Winamp.PlayList
    .wri=wrifile
    .wsa=AnimationShop3.WorkspaceFile
    .wsc=scriptletfile
    .WSF=WSFFile
    .WSH=WSHFile
    .wsz=
    .wtx=txtfile
    .wv=wvFile
    .wve=Winamp.File.wve
    .wvx=WVXFile
    .x=
    .xaml=
    .xbap=
    .xbm=
    .xdp=AcroExch.XDPDoc
    .xfdf=AcroExch.XFDFDoc
    .xi=Winamp.File.xi
    .xix=
    .xla=Excel.Addin
    .xlb=Excel.Sheet.8
    .xlc=Excel.Chart.8
    .xld=Excel.Dialog
    .xlk=Excel.Backup
    .xll=Excel.XLL
    .xlm=Excel.Macrosheet
    .xls=Excel.Sheet.8
    .xlshtml=Excelhtmlfile
    .xlt=Excel.Template
    .xlthtml=Excelhtmltemplate
    .xlv=Excel.VBAModule
    .xlw=Excel.Workspace
    .xm=Winamp.File.xm
    .xml=xmlfile
    .xmz=Winamp.File.xmz
    .xnk=xnkfile
    .xps=
    .xsl=xslfile
    .XtoDVD=ConvertXtoDVD project file
    .xvid=divx_xvid_file
    .xxe=WinRAR
    .z=
    .z96=
    .zap=zapfile
    .ZFSendToTarget=CLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}
    .zip=WinRAR.ZIP

    :hello:
  8. YOU'RE WELCOME, EVERYBODY! :)
Ask a new question

Read More

Configuration Explorer File Extension Windows XP