[thelist] Vbscript question

Anthony Baratta Anthony at Baratta.com
Fri Apr 5 09:53:00 CST 2002


At 06:08 AM 4/5/2002, lordcutter at telocity.com wrote:

>Dim Winshell
>Set Winshell = CreateObject("WScript.Shell")
>RCode = Winshell("dir",0,True)

Here's code from a VBS script I use to zip up IIS log files....

     Set WshExe = WScript.CreateObject("WScript.Shell")
     strOutput = WshExe.Run(varParameters , 0, True)

You are missing the .Run
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list