p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_codeclinic thread: Script component

Message #1 by Aruna.Koya@e... on Fri, 7 Jun 2002 10:42:19 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

Content-Type: text/plain

I am trying to run a bat file from using the windows script component.

As follows:
Set oShell = WScript.CreateObject ("WScript.shell") 
RetCode = oShell.Run("c:\batchfiles\dbarchive.bat ", 1, True) 

However, I get an error that the Object Wscript cannot be found.

Any ideas.?

Thanks in advance


This message may contain privileged or confidential information.  
If you receive this message in error please return it to the sender and delete all copies - thankyou.

  Return to Index