| Author |
Batch files |
hmcq6
Member

Posts: 31
Location:
Joined: 22.11.05 Rank: Mad User |
|
dose anyone know any fun batch files?
ive been looking on google for batch files and i have heard stories of people pulling pranks on dos but it dosnt explain how
ty , hassan |
|
| Author |
RE: Batch files |
DarkNano
Member
Posts: 6
Location:
Joined: 02.08.05 Rank: Mad User |
|
@echo off
shutdown -s -t X
shuts down the computer after X seconds.
you could also try adding -m \\"computername" command, then it tries to shut down the computer with the same name as you have given. But i have never gotten this to work for some reason.
Anyone who knows more about this command can contact me and explain it to me if he wants to.
[url=http://hellboundhackers.org/fusion_forum/
viewthread.php?forum_id=14&thread_id=426#2846]
 [/url]
|
|
| Author |
RE: Batch files |
SySTeM
-=[TheOutlaw]=-
Posts: 1524
Location: England, UK
Joined: 27.07.05 Rank: The Overlord |
|
If you're on a network at school...
@echo off
:loop
NET SEND * annoying message goes here
goto loop
This will send a message to everyone on your schools network continusly untill you stop it with CTRL + C or the close button
|
|
| Author |
RE: Batch files |
AldarHawk
The Manager

Posts: 1661
Location: Canada
Joined: 26.01.06 Rank: God |
|
This one is fun.
PEN
echo OPEN "MSCD0000" FOR OUTPUT AS #1> %TEMP%\CD.BAS
echo IOCTL #1, CHR$(0)>> %TEMP%\CD.BAS
echo SYSTEM>> %TEMP%\CD.BAS
QBASIC /RUN %TEMP%\CD.BAS
DEL %TEMP%\CD.BAS
GOTO CLOSE
:CLOSE
echo OPEN "MSCD0000" FOR OUTPUT AS #1> %TEMP%\CD.BAS
echo IOCTL #1, CHR$(5)>> %TEMP%\CD.BAS
echo SYSTEM>> %TEMP%\CD.BAS
QBASIC /RUN %TEMP%\CD.BAS
DEL %TEMP%\CD.BAS
GOTO OPEN
Major chunk of code gotten from http://www.ericphelps.com/ and added into loop by AldarHawk 
PLEASE NOTE THAT THIS CAN SERIOUSLY DAMAGE A CD-ROM DRIVE! USE WITH CAUTION
Edited by AldarHawk on 24-04-06 19:36 |
|
| Author |
RE: Batch files |
bl4ckc4t
Member
Posts: 591
Location: /etc/
Joined: 07.03.06 Rank: HBH Guru |
|
hmcq6 wrote:
dose anyone know any fun batch files?
ive been looking on google for batch files and i have heard stories of people pulling pranks on dos but it dosnt explain how
ty  , hassan
Go to the microsoft website, they have all cmd prompt commands. then learn them. Its what I did.
Heres another batch thats fun
@echo off
:lol
Copy %0
goto lol
Bl4ckC4t
Edited by bl4ckc4t on 24-04-06 23:01 |
|
| Author |
RE: Batch files |
lil-old-me
Member
Posts: 48
Location: Manchester
Joined: 19.03.06 Rank: Active User |
|
ImperfectTruth wrote:
system_meltdown wrote:
If you're on a network at school...
@echo off
:loop
NET SEND * annoying message goes here
goto loop
This will send a message to everyone on your schools network continusly untill you stop it with CTRL + C or the close button
I've tried this on my own computer (not a netword) and it won't work. Is that command only meant for networks or am I doing it wrong?
Windows XP now dissallows the Net Send feature by default, ou need to allow it on every machine on your network if you want it to work.





 |
|
| Author |
RE: Batch files |
TAoS
Member

Posts: 52
Location: Purdue University
Joined: 20.09.05 Rank: God |
|
You can do that by typing
net start messenger
If you get an error, find the services list and enable "Messenger", set it to Manual, then type in net start messenger.
If you set it to auto, it will turn on when the computer starts.
-=[?]=- |
|
| Author |
RE: Batch files |
mastergamer
Member

Posts: 432
Location:
Joined: 07.02.06 Rank: God |
|
I think you also have to enable "Alerter" in services for it to work.
|
|
| Author |
RE: Batch files |
NoSpI
Member
Posts: 80
Location: 127.0.0.1
Joined: 25.04.05 Rank: Monster |
|
Its ok, everyone learns somewhere.
To open the services list go Start -> Run, and type in services.msc
Then when you want to type that net start messenger, you open a command prompt, by going Start -> Run and typing in 'cmd' without the quotes.
My Gallery
My DeviantArt Gallery

 |
|
| Author |
RE: Batch files |
iamgodoffire
Member
Posts: 106
Location: cyberspace
Joined: 23.12.04 Rank: Monster |
|
heres a fun one
@echo off
:A
echo *insert message*
start *name of batch prog.*
goto A
this makes the batch program open itself
and then there are 2 batch programs opening
then 4, then 8, 16, 32, 64, 128, 256, 512, 1024, 2048 etc.
and it all happens really fast until the comp slows down 
enjoy
-=Godoffire=-

|
|