
Scripted CMD & Sql Function
WshShell Object
http://msdn.microsoft.com/scripting/windowshost/doc/wsObjWshShellM.htm
Run Method
http://msdn.microsoft.com/scripting/windowshost/doc/wsMthRun.htm
set Shell = createobject("wscript.shell")
exitcode = Shell.Run("yourcommand",0,True)
--
Michael Harris
MVP Scripting
Hi;
I am quite new to WSH I hope someone can shed some light, or direct me to
some resources
to answer my question.
What I need to be able to do is register the success or failure of a CMD
file be executed.
I need to be able to modify a record in a database with either success or
failure.
I am not sure if the application I am calling can return any type of
indicator for success or failure.
Right now I would be happy with just modifying the record after the CMD file
runs. The key word
here is after so the database will be accurate in saying the operation has
completed.
Thanx in advance.
M