日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

文件关联修复工具(用文本文档保存后后缀修改为bat)

發布時間:2023/12/18 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 文件关联修复工具(用文本文档保存后后缀修改为bat) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
@echo off :start cls title AVS Team文件關聯修復工具 color 0a echo "****************************************************" echo " 文件關聯修復工具 echo " humf " 此程序在WINDOWS XP SP1/SP2測試通過 echo echo. echo A -修復EXE文件關聯 echo. echo B -修復COM文件關聯 echo. echo C -修復TXT文件關聯 echo. echo D -修復BAT/CMD文件關聯 echo. echo E -修復SCR文件關聯 echo. echo F -修復REG文件關聯 echo. echo G -修復HTML/HTM文件關聯 echo. echo H -修復PIF文件關聯 echo. echo I -修復LNK文件關聯 echo. echo J -修復JS文件關聯 echo. echo K -修復VBS文件關聯 echo. echo L -修復INI文件關聯 echo. echo M -修復INF文件關聯 echo. echo N -修復CHM文件關聯 echo. echo O -修復HLP文件關聯 echo. echo P -修復HTA文件關聯 echo. echo Q -修復JPG文件關聯 echo. echo R -修復GIF文件關聯 echo. echo 0 -退出 ECHO. ECHO 輸入您要修復的文件關聯的代號: set choice= set /p choice= if /I "%choice%"=="A" goto EXE if /I "%choice%"=="B" goto COM if /I "%choice%"=="C" goto TXT if /I "%choice%"=="D" goto BAT if /I "%choice%"=="E" goto SCR if /I "%choice%"=="F" goto REG if /I "%choice%"=="G" goto HTML if /I "%choice%"=="H" goto PIF if /I "%choice%"=="I" goto LNK if /I "%choice%"=="J" goto JS if /I "%choice%"=="K" goto VBS if /I "%choice%"=="L" goto INI if /I "%choice%"=="M" goto INF if /I "%choice%"=="N" goto CHM if /I "%choice%"=="O" goto HLP if /I "%choice%"=="P" goto HTA if /I "%choice%"=="Q" goto JPG if /I "%choice%"=="R" goto GIF if /I "%choice%"=="0" goto EXIT :EXE assoc .exe=exefile ftype exefile="%1"%* goto start :COM assoc .com=comfile ftype comfile="%1"%* goto start :TXT assoc .txt ftype txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1 :BAT assoc .bat=batfile ftype batfile="%1" %* assoc .cmd=cmdfile ftype cmdfile="%1" %* goto start :SCR assoc .scr=scrfile ftype scrfile="%1" /S goto start :REG assoc .reg=regfile ftype regfile=regedit.exe "%1" goto start :HTML assoc .html=htmlfile ftype htmlfile="%Program Files%\Internet Explorer\iexplore.exe" -nohome goto start :PIF assoc .pif=piffile ftype piffile="%1" %* goto start :LNK assoc .lnk=lnkfile reg delete "HKCR\lnkfile\CLSID" /v "@" /f reg add "HKCR\lnkfile\CLSID" /v "@" /t "REG_SZ" /d "{00021401-0000-0000-C000-000000000046}" /f goto start :JS assoc .js=jsfile ftype jsfile=%SystemRoot%\System32\WScript.exe "%1" %* goto start :VBS assoc .vbs=VBSFile ftype vbsfile=%SystemRoot%\System32\WScript.exe "%1" %* goto start :INI assoc .ini=inifile ftype inifile=%SystemRoot%\System32\NOTEPAD.EXE %1 goto start :INF assoc .inf=inffile ftype inffile=%SystemRoot%\System32\NOTEPAD.EXE %1 goto start :CHM assoc .chm=chm.file ftype chm.file="hh.exe" %1 goto start :HLP assoc .hlp=hlpfile ftype hlpfile=winhlp32.exe %1 goto start :HTA assoc .hta=htafile ftype htafile=mshta.exe "%1" %* goto start :JPG assoc .jpg=jpegfile ftype jpegfile=rundll32.exe shimgvw.dll,ImageView_Fullscreen %1 goto start :GIF assoc .gif=giffile ftype giffile=rundll32.exe shimgvw.dll,ImageView_Fullscreen %1 goto start :EXIT echo Do you want to exit the progarm?(y/n) set choice= set /p choice= if /I "%choice%"=="n" goto start exit

總結

以上是生活随笔為你收集整理的文件关联修复工具(用文本文档保存后后缀修改为bat)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。