Just to add to markdmac's code:
Randomize
MyNumber = Int(rnd() * 1000000 + 1)
Because we're using the int() function you will only get a number between 0 and 999,999.
I've noticed a huge increase in these gibberish spam emails coming into our organisation, too. Most of them are regular spam with a heap of random words littered throughout the email.
It's my theory that this is the spammer's attempts to render anything that uses a Bayesian spam filter...
I wrestled with this. Eventually, I found this worked:
<%
Set grp = GetObject("WinNT://DOMAIN/DomainGroup")
For each usr in grp.Members
Response.Write usr.Name
Next
%>
I needed the page to display things dynamically, depending on whether or not a person was a member of a group...
Does anyone know how to append an email disclaimer to outgoing emails? I know it can be done with exchange 5.5 by simply adding a registry entry (doesn't work for 2000 as far as I can tell). I don't particluarly want to spend $000's just for a utility that does it.
We are using Outlook as our...
goto http://www.donia.com/products.htm#DSPingPro
Download, install, and read the instructions on how to use it in vbscript. No need for batch files. Easy to code.
set IPConfigSet = GetObject("winmgmts:{impersonationLevel=impersonate}").ExecQuery _
("select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")
for each IPConfig in IPConfigSet
if Not IsNull(IPConfig.IPAddress) then
for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.