aspose file tools*
The moose likes Java in General and the fly likes net send in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "net send in java" Watch "net send in java" New topic
Author

net send in java

MuraliH Krishna
Greenhorn

Joined: Jan 19, 2008
Posts: 9
Hi ranchers,
I work for a organisation which has a network with 500+ PC's running on windows. I have a need to develop a program in java which should send messages to others PC's using the default utilities like net send in dos. Is there a way where i could use net send message in dos using java. Or can any one suggest me any other alternative.Please help me. Very URGENT.

Thanks in advance.
sanjay kumar
Greenhorn

Joined: Aug 03, 2007
Posts: 21
hi,

you can execute a dos command using runtime exec process



try to add a dynamic nature using file's (like add ip-name pairs to a fle and read from there and create a command structure...

hope this might help
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: net send in java