Solved

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

Posted on 2001-08-09
7
707 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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