p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: WScript.Shell not executing....


Message #1 by "Robert Sindall" <rs@s...> on Thu, 29 Nov 2001 14:57:37 -0000
This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C178E6.2F25EB70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi,

I?m trying to get this code to execute?

<%
Set ShellObj = Server.CreateObject("WScript.Shell")
ShellObj.Run("d:\pgpcmdln\test.bat")
%>

But nothing happens?
I am trying to use PGP, but I have simplified this just to get a
Wscript.shell to work?.

Please help!!!

If I do the below?. X = 0 is that good or bad ?

<%
Set ShellObj = Server.CreateObject("WScript.Shell")
x=ShellObj.Run("d:\pgpcmdln\test.bat")
%>

Help?

Regards

Robert Sindall
Sardius Ltd



  Return to Index