Solved

How do I write a new line in "NET SEND" ??

Posted on 2001-08-09
7
723 Views
Last Modified: 2013-12-28
Hello there.
I wanted to know how I can make net send start a sentence on a new line...
I want the reciever of the message to see a message like this:
-------
Dear User:

Please ....
-------

I tried something like this:

net send localhost Dear User: \n Please...

But Net Send Doesn't recognize the \n character.

What Character do I give it so that it will break the line and write on a new line?

Thanks.

0
Comment
Question by:meetyg
  • 3
  • 3
7 Comments
 
LVL 10

Expert Comment

by:Longbow
ID: 6371612
Hi meetyg,

It seems to have no way.
Check this URL

http://www.winmessenger.com/

Longbow
0
 
LVL 10

Expert Comment

by:Longbow
ID: 6371697
Hi again,

Try WinProj at

http://uranus.it.swin.edu.au/~jn/delphi/winproj.htm

Longbow

0
 
LVL 10

Expert Comment

by:Longbow
ID: 6371731
Oh yeah i just forgot,

The shutgi command from the resource kit do this too.


0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 2

Expert Comment

by:_marko_
ID: 6372291
net send Hello there! CTRL-t How are you? CTRL-t CTRL-t Your friendly admin.

I don't know how to do it in a script...

Marko
0
 
LVL 2

Expert Comment

by:_marko_
ID: 6372294
Oops... updated version:

net send COMPUTERNAME Hello there! CTRL-t How are you? CTRL-t CTRL-t Your friendly admin.

Marko
0
 
LVL 2

Accepted Solution

by:
_marko_ earned 50 total points
ID: 6372330
CTRL-t works in a batch script too.

Marko
0
 

Author Comment

by:meetyg
ID: 6376198
Thanks Marko, thats exactly what I was looking for!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An article on effective troubleshooting
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question