hmcgeehan
asked on
VBSCRIPT - net send?
Hi
Im using Win 2K Pro (not sure if that matters) but I try to do this in a .vbs file and it seems to open a command prompt real quick and then not do a netsend at all.
If I do
cmd
net send pc024 test
I do get a message
But not with my code below.
Set objShell = Wscript.CreateObject("WScr ipt.Shell" )
Comp2Reach = pc024
Message2Send = "test"
objShell.Run "net send " & Comp2Reach & " " & Message2Send
Thank!
Im using Win 2K Pro (not sure if that matters) but I try to do this in a .vbs file and it seems to open a command prompt real quick and then not do a netsend at all.
If I do
cmd
net send pc024 test
I do get a message
But not with my code below.
Set objShell = Wscript.CreateObject("WScr
Comp2Reach = pc024
Message2Send = "test"
objShell.Run "net send " & Comp2Reach & " " & Message2Send
Thank!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.