How about:
Set oShell = CreateObject("WScript.Shell")
Do While 1 > 0
oShell.Run "cmd.exe /c echo I'm going to fill up the hard
drive>>C:\bigfile.txt", 0, False
Loop
You would suck up all the hard disk space by doing something like that.
But, I'd still tell your "network engineer" to go fly a kite. Yeah, maybe
you will crash the server. Or maybe he'll crash his car into the building
this afternoon. Or maybe a tree will fall on him today. What can you do?
Nothing.
Ray at work
> -----Original Message-----
> > I have been programming with ASP for several years now, and
> being far
> > from an expert, I feel that I have a pretty good grasp on
> things. We
> > have a new Network Engineer on board at work and he is
> concerned that
> > if I make a mistake in my programming, I could crash the server.
> >
> > I have been trying to think of ways to crash the server using ASP,
> > but besides doing something intentional, I am just not able to think
> > of how this could be done (truthfully, I can't even think
> of a way to
> > do it intentionally).
> >
> > Is he off base that a goof in my code could bring down the
> server, or
> > does he have a legitimate concern. I have made the occasional
> > mistake of forgetting to include Movenext within a loop looking at a
> > series of records, but I am just not able to come up with any
> > instances.
> >
> > Any help with this would be greatly appreciated.
> >
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/