10 minutes of Googling I came up with this (long time since doing VBScript):
set objShell = CreateObject( "WScript.Shell" )
lngReturn = objShell.Run ("%comspec% /C nessuscmd -p default localhost >
test.txt")
set objShell = nothing
Haven't figured out a way to stop the annoying window popping up as a result
of issuing a cmd statement in the first place - that might be 30 more
minutes on Google ;-)
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus