DO NOT TRY THIS AT HOME : Rotteneggs.com text files and message bases are for INFORMATIONAL PURPOSES ONLY. DO NOT undertake any project based upon any information obtained from this or any other web site.We are not responsible for, nor do we assume any liability for, damages resulting from the use of any information on this site.
(40 votes) Published: Aug 17, 2008 9:46 a.m. In 1 Favorites Lists Viewed 244 times
I know that many of you might say that there a lot of batch eggs on RE and that this is very simple, but I searched the directory and found that there are many batch eggs that are not easily understood by someone that doesn’t know .bat. So I decided to make this egg and explain (kind of) what it does and also how to hide your .bat file behind a desktop shortcut. I tried to put a lot of effort to it with pics and stuff but I don’t think it can go any further.
Oh btw sorry for the greek on the pics but I made this egg on my sister’s pc. Anyhow anyone with basic knowledge about pcs can figure out the path. The explanation, however is in English.
So.. On with the egg.
1.)Right Click on your desktop and select “Create” and then “New Text Document”
2.)Open that document and type in the following code.
This is the simplest loop you can create in .bat files
What it does is start the program with the “:BEGIN” command
Then it starts cmd.exe
And lastly “GOTO BEGIN” creates the loop that keeps opening cmd.exe
This works on XP and crashes the computer, but although it works on Vista I think that there is a way to crash the .bat file itself and then just manually close all the opened command promts.
3.)Click “File”, “Save As” and on the file type change “Text documents (.txt)” to “All Files”
4.)Choose a name for your file and type yourfilesname.bat and click “Save”
5.)Move the .bat file to a folder so as to hide it
6.)Go to your desktop, right click, “Create”, “Shortcut”
7.)Click “Browse”, find your .bat file, click “Next”, select a name to appear on the shortcut and click “End”
8.)Right click on the shortcut and select “Properties”. On the “shortcut” tab click on “Chane Icon” (or smth like that), choose an icon and click “OK”.
My Shortcut looked like this:
(Yes my sister’s name is Sandy)
And Voila!! You ‘re ready.
Also you can create the.bat file on your pc transfer it to smbd else’s pc and do steps 5-8 on the other guys pc.
I do this shit to my sister all the time (well at least when we still lived together) and she’d always get furious about losing everything she was working on and have to restart her pc.