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
Best top post your question at microsoft.public.scripting.vbscript Also try the following site http://www.microsoft.com/technet/scriptcenter/default.mspx "Bob" wrote in message news:u0Lk8wO2FHA.1184@TK2MSFTNGP12.phx.gbl... > 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 >