Failed to start a program by script
- From: AndyMar <AndyMar@xxxxxxxxxxxxxxxxx>
- Date: Thu, 8 May 2008 19:46:01 -0700
Hi,
I used the following script lines to start a program by a schedule batch
program:
Dim AppCmd
Set AppCmd = "start /d c:\rdata c:\swapplic\chsp\bin\dldbridge.exe"
Dim oProcesses, ErrResult, iID
Set oProcess = GetObject("winmgmts:\\" & sName &
"\root\cimv2:Win32_Process")
ErrResult =
oProcess.Create(WScript.Arguments.Named("AppCmd"),Null,Null,iID)
However, the script failed with ErrResult=8.
I recently increase the memory from 1G to 2G and sill have 10G free space in
hard disk. What is going wrong? Please Help!
--
Andy Mar
.
- Follow-Ups:
- Re: Failed to start a program by script
- From: Al Dunbar
- Re: Failed to start a program by script
- From: Pegasus \(MVP\)
- Re: Failed to start a program by script
- Prev by Date: RE:regular expressions using not !!
- Next by Date: Re: Failed to start a program by script
- Previous by thread: RE:regular expressions using not !!
- Next by thread: Re: Failed to start a program by script
- Index(es):
Relevant Pages
|
|