hi, just guessing, do you think you have to escape the ">" character ?

On Fri, Jun 6, 2008 at 5:00 AM, David Macdivitt <[EMAIL PROTECTED]>
wrote:

>  I have tried to run the following basic vbscript that runs nessuscmd
> however instead of sending the output to a text file it tries to scan
> localhost,>,test.txt.
>
> set objshell = createobject("wscript.shell")
> objshell.run "nessuscmd -p default localhost > test.txt"
>
> However if I run the command: nessuscmd -p default localhost > test.txt
> in cmd, it works fine.
>
> Anyone know how to get it to work in vbs?
>
> David
>
> ------------------------------
> Get 5GB of online storage for free! Get it Now!
> <http://clk.atdmt.com/UKM/go/msnnkmgl0010000005ukm/direct/01/>
>
> _______________________________________________
> Nessus mailing list
> [email protected]
> http://mail.nessus.org/mailman/listinfo/nessus
>



-- 
--Yarick Tsagoyko

Advisory Notice: Email is covered by the Electronic Communications Privacy
Act and is legally privileged, but inherently insecure. Content may be
subject to alteration: email addresses may incorrectly identify the sender.
This email transmission, and any documents, files, or previous email
messages attached to it may be privileged and confidential, and are intended
only for the use of the recipient(s) named in the address field. If the
reader of this message is not an intended recipient, or the employee or
agent responsible to deliver it to the recipient, you are hereby notified
that any dissemination, distribution, or copying of this message or its
contents is strictly prohibited. If you have received this message in error,
please notify me by telephone or return email and delete it and any
attachments from your computer. Thank you.
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus
  • vbs David Macdivitt
    • Re: vbs YARICK
    • vbs Dave

Reply via email to