Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


January 09, 2000

How do I send a message from a batch file?

RSS
Subscribe to Windows IT Pro | See More Batch Files Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. To send a message from a batch file, use the Net Send command, as follows.

net send <machine> "<message>"

End of Article



Reader Comments
i was trying to communicate in my network using net command it was fine when i send it from workgroup but when i try to send message to another workgroup in my network, it dosn't work. how i can resolve it? for information i am a very very beginner in computing

regards



boogie October 06, 2002


Hello Sir/Madam,
I am Piyush Maru and i am learning Win Nt and Win 2k administration also i am working in NIIT institute which is having a network of WIN NT and Win 2k. I want to send message to all the computers that are in a domain, but sometimes all the machines are not on (that is some are switched off and some are logged off) so whati want is a command or batch file to send messages only to them who are working on the PC.
I also have a problem in accessing the terminal server using terminal server client from the client machine when I login as an ordinary user but if I login as administrator I can access terminal server
So plz help me. Hope i will soon receive a reply from your side.....


Piyush Maru January 25, 2003


I am trying to use the net send command to send to a single user on a network. Everytime I try to send an error report shows the user cannot be found on the network when both computers are logged on. Do I have to restart the net send command? I am a beginner at the language and am curious as to start and run different commands.

Jon November 18, 2003


Does this user actually have to be logged on ?
I tried this in order to tell someone to run an antivirus on a certain file but it came up with NET SEND ERROR 2273 what is wrong ?

S.Tasker April 16, 2004


how do I send an email with attatchment with a batch file?

richard April 27, 2004


I am trying to querry all nodes on my Domain for certain file names. Essentially, I'm trying to scan the WINNT directory on all my domain user computers looking for certain files. Is there a way to automate this?

Dan April 28, 2004


To send a net send to all people on the domain type
net send * message

spite April 30, 2004


I need net send in a batch file

Anonymous User January 18, 2005


"@ehco
net send * i dont deserve to use a pc
exit"

put that into notepad and save it as a imleet.bat or what ever then run it and everyone will get the meesage

where i wrote that message replace it with what ever you want enjoy.

and btw this almost got me expelled from college so be careful and lol try to get people expelled with it :P

Anonymous User March 20, 2005 (Article Rating: )


Try the following syntax and you will be able to send messages to all the computers except for those who are not logged onto the network.

net sen * add your message here
Then hit enter.

Network Man!

Anonymous User July 02, 2005 (Article Rating: )


 See More Comments  1   2 

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

Microsoft Touts Xbox 360 'Black Friday' Success

Microsoft this week revealed that its Xbox 360 video game console outsold its Sony PlayStation 3 rival 3-to-1 on "Black Friday," which curiously describes the three day weekend after Thanksgiving, a period that unofficially kicks off the holiday selling ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing