Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

VBScript FAQ


I realized that when you net send somebody, they can recieve a maximum of 6 messages. Is there any way to increase this number of maximum messages recievable? by ejohnson8
Posted: 4 Apr 02

It's more of a spamming filter than a limitation.  However you can get around it by adding a delay to your program.

Here is a sample vbs program that I wrote to test this.
Code Below

Dim i, WinShell, ldate, lNumSeconds, lNumPrompts

'This delay is what allows you to send more than 6 prompts.
lNumSecondsDelay = 2
lNumPrompts = 20

Set WinShell = WScript.CreateObject("WScript.Shell")
ldate = now - 1
For i = 0 to lNumPrompts
  while not now-ldate >= lNumSecondsDelay/(24*60*60)
  lDate = Now
  WinShell.Run "net send ejohnson test"
Set Winshell = Nothing

Back to VBScript FAQ Index
Back to VBScript Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close