PDA

View Full Version : .Bat files



EdDx
04-09-2005, 08:13 PM
hey does anybody know how to make a message using ms-dos on start up??
and i mean a message like "HELLO. THIS IS THE SYSADMIN. YOU HAVE BEEN CAUGHT HACKING INTO THE HTTP LAN SERVER! POLICE HAVE BEEN CALLED!"

and without the thing sayin bad command name or file i just wanna display the message!

THANX

EdDx

Unregistered
04-10-2005, 04:42 PM
Just make a batch file, put it somewhere the user has read access to, and put a shortcut to it in the StartUp section of the Start>Programs menu. (of the person who's account you want it to come up on).

Try:
@echo off
echo YOURMESSAGEHERE
(and some suspend for key kinda command here, i can't remember...)

Unregistered
04-10-2005, 04:44 PM
BTW, the command "pause" (without quotations) is likely what you would want for that last command.

EdDx2
04-10-2005, 11:30 PM
anything to make the message scary

like someone is actually hackin u?

EdDx
04-12-2005, 03:14 AM
hey EdDx2 is my other account so please reply to it. the site admin suspended me posts for a day
thanx :cool:

SyntaXmasteR
04-12-2005, 05:40 PM
You can have fun opening lots of small programs at the start up before all those messages pop up.

Maybe launch iexplore.exe a few times and send him to some crazy sites.
SYNTAX FOR COMMAND PROMPT: start iexplore.exe www.whatever.com

Other small programs to start:
aim.exe
calc.exe
mspaint.exe
wmplayer.exe
wordpad.exe
notepad.exe
mstsc.exe
msimn.exe
ETC....

EdDx
04-12-2005, 09:20 PM
what i dont get it how do u opent he little files again??
do u put them in notepad??

like for e.g


start iexplorer.exe

how do u lay it out????????

luprates
06-03-2005, 05:49 PM
Hi everybody. I have a novice question regarding bat files.
Here´s the deal:
I have to make a bat file to recognize which is the cd unit(d: or e: or else) and run the exe from de inserted cd, I mean, so far I can write

@echo off
start =d:/whatever.exe
exit

but I dont know what to do about the other possible cd units.

Please help.
Thanks a lot.