Computing.Net > Forums > Programming > Net send Batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Net send Batch file

Reply to Message Icon

Name: mshaber
Date: September 14, 2006 at 14:27:59 Pacific
OS: W2k
CPU/Ram: P4 1.0Ghz
Product: Custom
Comment:

I would like to create a batch file that will open a command prompt and have "net send computer" at the prompt. From there, the user can finish the line with their message and press the enter key. Is this even possible? Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: Shr0Om
Date: September 15, 2006 at 02:19:23 Pacific
Reply:

@echo off
set /p msgto=Send msg to?:
set /p msg=Message:
net send %msgto% "%msg%"


0

Response Number 2
Name: Shr0Om
Date: September 15, 2006 at 04:55:37 Pacific
Reply:

Ah, instead of prompting the user for computername just use:

net send computer "%msg%"


0

Response Number 3
Name: mshaber
Date: September 15, 2006 at 08:23:40 Pacific
Reply:

awesome. thanks very much!


0

Response Number 4
Name: alidabiri
Date: September 18, 2006 at 11:03:06 Pacific
Reply:

net send has been disabled in windows-xp-sp2


if you ASCII a supid question, you get a stupid ANSI


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


point of view source Apache PHP



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Net send Batch file

How to do: Net Send Batch File www.computing.net/answers/programming/how-to-do-net-send-batch-file/18083.html

Batch file www.computing.net/answers/programming/batch-file/14983.html

Batch File and Start->Run... www.computing.net/answers/programming/batch-file-and-startrun/8973.html