So I was playing around with some code today...

Discussion in 'Miscellaneous' started by Mikeguy2225, Sep 2, 2012.

  1. So I was very bored today and decided hey, maybe I'll play around with some code. I was thinking of some things to try when it popped into my head: What would happen if I created a program to run an endless loop. I went into notepad and created a simple batch file. I did the following code:

    start virus.bat

    I called it virus just because of what would happen once I ran the program. I basically told the computer to start a program named virus.bat and then send it on an endless loop. This has probably been done before but I found it hilarious, this is a guaranteed way to crash your computer. I ran it and of course the endless loop opened up so many windows and crashed my computer eventually. But I found this pretty funny, so do you guys have some simple code you made up that can do funny things? Aikar I'm looking at you.
  2. Theres a code where it can make funny sounds when you click . . .
  3. Oh cooldo you know the code off hand?
  4. I'm 26 almost 27 now... It's been 10 years since I was playing around with stuff like that haha... I don't remember :(
  5. Lets see...

    Mikeguy2225 likes this.
  6. I made a .BAT file that forced BSOD onto people, and I made a fake virus that shuts off your computer while it's in disguise of something else.

    It's been 1 year since I done that xD
  7. It's called a fork bomb.
    A more concise one is
    If you are using Linux, you can use
    :(){ :|:& };:
    alexschrod likes this.
  8. Ive just started Comp. Programing This Year Ill Have to Mess Around with some stuff
  9. I once made a program that would restart your computer. When I put it in my startup folder, it had deadly effects. (It put the computer into an endless loop of turning on and off.) I eventually had to unplug my computer and plug it back in just to run Linux to access my hard drive so I could remove the program from the startup folder. That was when I was a freshman in high school, about five years ago. I still have that program somewhere.
    mba2012 likes this.
  10. Running safe-mode (if Windows was your endless loop system) would probably have been sufficient. :p
  11. The program ran in safe mode too.
  12. Never made code stuff before, don't know how, but I remember having a similar problem with Internet Explorer back on Windows ME... :rolleyes:
    xI_LIKE_A_PIGx and mba2012 like this.
  13. I have made a program that opens and closes the cd drive when a particular key on your keyboard is pushed, pretty funny when you do it on your friends computer and it annoys the heck out of him hahaha.
  14. The best I've done is made a simple random fireworks program with small basic
  15. Put this in and save it as a .bat:

    @echo off
    color 02
    echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
    goto start
  16. Back in highschool made a small service that would shutdown the computer as soon as you would start internet explorer just to teach people that IE is the devil :p, and i was bored
  17. Im 21, still "fresh" in the IT world only been doing it for 4 years professionaly oh I know some batch files that can do funny funny things, but am I going to post them here? am I hell :) sorry..
  18. But... my devious side wants to leak some information, use your google-fu to find out how to use the "shutdown -r -t 0" command, place it into a batch file...

    Then work out how to open the "all users - Start up folder"

    Lots of Lol's will ensure....