ComputerForum.com ComputerForum.com  

Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-22-2006, 08:33 AM   #1 (permalink)
Silver Member
 
leeroyMarv's Avatar
 
Join Date: Jun 2006
Posts: 181
Default Batch file to create a windows messagebox?

Is there a command to bring up a message box when you're making a batch file. If you've used windows before you would have seen the message boxes, they come up all the time, such as the 'this program has performed an illegal operation' type of thing. Can you make a batch file so that it creates a popup message when you open the file such as: 'this is a batch file'? Winzip (as do many other programs in their free versions) uses a popup window when you open it, just as an example. Thanks for any help
leeroyMarv is offline   Reply With Quote


Old 06-22-2006, 08:37 AM   #2 (permalink)
VIP Member
 
Trizoy's Avatar
 
Join Date: Apr 2005
Location: Mountain View, Ca
Posts: 4,681
Default

You could net send yourself

net send computername message

'net send leeroymarv this program has performed an illegal operation'
__________________
01100110 01100001 01110010 01110100
Trizoy is offline   Reply With Quote
Old 06-22-2006, 08:55 AM   #3 (permalink)
Silver Member
 
leeroyMarv's Avatar
 
Join Date: Jun 2006
Posts: 181
Default

Would i have to be connected to the internet to do that? And what would i be able to type that into notepad?
leeroyMarv is offline   Reply With Quote
Old 06-22-2006, 09:14 AM   #4 (permalink)
VIP Member
 
Trizoy's Avatar
 
Join Date: Apr 2005
Location: Mountain View, Ca
Posts: 4,681
Default

Not connected to the internet. put it in notepad.txt then save and close. Then rename it to notepad.bat

Double click it and it will send that message. The messenger service needs to be running aswell. (by default it is)
__________________
01100110 01100001 01110010 01110100

Last edited by Trizoy; 06-22-2006 at 09:18 AM.
Trizoy is offline   Reply With Quote
Old 06-22-2006, 09:22 AM   #5 (permalink)
Silver Member
 
leeroyMarv's Avatar
 
Join Date: Jun 2006
Posts: 181
Default

The message alias could not be found on the network? What do i have to put as my name? Could you give me a basic example of how its done, and do i have to put in a name or name of computer or user?

Last edited by leeroyMarv; 06-22-2006 at 09:25 AM.
leeroyMarv is offline   Reply With Quote


Old 06-22-2006, 10:57 AM   #6 (permalink)
VIP Member
 
Trizoy's Avatar
 
Join Date: Apr 2005
Location: Mountain View, Ca
Posts: 4,681
Default

OK my computer name i trizoy and my local ip is 169.128.2.1 and my workgroup is MSHOME

net send trizoy hi

or

net send 169.128.2.1 hi

or

net send mshome hi


Did you check to make sure you messenger service is on?

To start it, or make it automatic..
Go start, Run, type in services.msc
Scroll down to messenger, and right click and start it.
__________________
01100110 01100001 01110010 01110100

Last edited by Trizoy; 06-22-2006 at 11:01 AM.
Trizoy is offline   Reply With Quote
Old 06-23-2006, 04:09 AM   #7 (permalink)
Silver Member
 
leeroyMarv's Avatar
 
Join Date: Jun 2006
Posts: 181
Default

Okay, problem solved, thanks Trizoy
leeroyMarv is offline   Reply With Quote
Old 03-27-2009, 07:38 AM   #8 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 2
Default New Here

Hello guys, it's been way too long since I've popped my head in to say hello to everybody. I've been around looking at all the comments and replies to everyone, but I've not signed up until now ! This forum is very informative and I'm hoping to learn more.

I look forward to sharing ideas with everybody! And everyone is so nice (even though you dont even know me yet). It was nice reading about where everyone is at. I look forward to getting to know everyone as we exchange messages on this board.

I'm pretty happy to be here!
Induttunono is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:06 AM.


Powered by: vBulletin Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.