2000系统,诺顿杀毒后,所有EXE的文件打不开了

来源:百度知道 编辑:UC知道 时间:2024/06/01 23:48:53

@echo off
cls
echo *********************************
echo * Fixassoc.bat 2005.04.16.b *
echo * by db *
echo *********************************
echo.
echo Fixassoc.bat,用于恢复bat.cmd.com.exe.pif.scr.txt.ini文件关联
echo.
if %os%==Windows_NT goto reg5
echo REGEDIT4>Fixassoc.reg
goto start
:reg5
echo Windows Registry Editor Version 5.00>Fixassoc.reg
:start
echo.>>Fixassoc.reg
echo [HKEY_CLASSES_ROOT\batfile\shell\open\command]>>Fixassoc.reg
echo @="\"%%1\" %%*">>Fixassoc.reg
echo.>>Fixassoc.reg
if %os%==Windows_NT goto cmd
goto com
:cmd
echo [HKEY_CLASSES_ROOT\cmdfile\shell\open\command]>>Fixassoc.reg
echo @="\"%%1\" %%*">>Fixassoc.reg
echo.>>Fixassoc.reg
:com
echo [HKEY_CLASSES_ROOT\comfile\shell\o