Bob
Guest
|
Posted:
Tue Oct 25, 2005 12:58 am Post subject:
Issuing a command from an Event Agent script |
|
|
Hi
I am maintaining some code that has a long and venerable history.
I need to issue a NET USE command to gain access to a file share, copy a
file to the share and then delete the drive mapping.
The version of the Operating system is Windows 2003 (service pack 1) and
Exchange is 2003 with service pack 1.
The agent is written in VBscript. The following code segment causes the
agent to stop processing (there is nothing in the Agent log and nothing in
the event-log to indicate what the error might be or what has caused the
stoppage)
set oScriptShell = CreateObject("wscript.shell")
Can anybody point me in the right direction?
TIA
Bob
|
|