Discussion:
Net Send
(too old to reply)
Curtis R. Crisp
2004-04-21 06:48:45 UTC
Permalink
Can not get this to work
Shell "CMD.exe /K NET SEND & " & Text1.Text & " & Text4.Text"
When I click Command1_Click dos open and reads this

The syntax of this command is:


NET SEND
{name | * | /DOMAIN[:name] | /USERS} message


'68.59.???.??' is not recognized as an internal or external command,
operable program or batch file.
'Text4.Text' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\Microsoft Visual Studio\VB98>

What am i doing wrong
Derek Ross
2004-04-22 02:47:44 UTC
Permalink
Post by Curtis R. Crisp
Can not get this to work
Shell "CMD.exe /K NET SEND & " & Text1.Text & " & Text4.Text"
When I click Command1_Click dos open and reads this
NET SEND
{name | * | /DOMAIN[:name] | /USERS} message
'68.59.???.??' is not recognized as an internal or external command,
operable program or batch file.
'Text4.Text' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Microsoft Visual Studio\VB98>
What am i doing wrong
Well, at a guess, the command that you are trying to give is

Shell "CMD.exe /C NET SEND " & Text1.Text & " " & Text4.Text

which is subtly different from what you actually typed.

Cheers

Derek

Loading...