By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,712 Members | 1,540 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,712 IT Pros & Developers. It's quick & easy.

delays in net send in .bat

P: n/a
In a previous post I was advised (thanks for that Mark Schupp) to
execute net send commands from a .bat file rather than an ASP page -
so I have written a a script in my web page that will dynamically
create a .bat according to the options a user chooses (basically
picking from a list of users to whom they want to send a message).
However, if they pick everyone and a couple of those users are logged
off, the script delays for up to a minute trying to find these users -
therefore if there were say 10 people logged off the script would take
ages to execute - not good

Can anyone tell me how to either
1. get a list of all logged on users - so that there will be no cause
for delay or
2. write something that limits the delay to a number of seconds - some
sort of timeout (per line, not per entire script)

would really appreciate it

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.