Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - objshell.exec exit code

Reply
 
Old 06-04-2009   #1 (permalink)
Ruoyu


 
 

objshell.exec exit code

Hi,

Dose anybody know the meaning of -1 as the exitcode when running
objshell.exec(strcommand)

Thanks in advance

RW


My System SpecsSystem Spec
Old 06-04-2009   #2 (permalink)
Alex K. Angelopoulos


 
 

Re: objshell.exec exit code

The exitcode is set by the application you're running with Exec, so you need
to check on the specific application being run to find out what the error
code means.

_hopefully_ the tool is well-documented, but that doesn't always seem to be
the case with arbitrary commandline tools. What application are you running?

"Ruoyu" <ruoyu.wo@xxxxxx> wrote in message
news:OPJFyPQ5JHA.6004@xxxxxx
Quote:

> Hi,
>
> Dose anybody know the meaning of -1 as the exitcode when running
> objshell.exec(strcommand)
>
> Thanks in advance
>
> RW
My System SpecsSystem Spec
Old 06-04-2009   #3 (permalink)
Ruoyu


 
 

Re: objshell.exec exit code

Hi

Try to run the msdeploy command.

I did some researches and cant't find any information related to -1 either
on vbscript or msdeploy

Cheers

RW
"Ruoyu" <ruoyu.wo@xxxxxx> wrote in message
news:OPJFyPQ5JHA.6004@xxxxxx
Quote:

> Hi,
>
> Dose anybody know the meaning of -1 as the exitcode when running
> objshell.exec(strcommand)
>
> Thanks in advance
>
> RW
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Re: how to exit code $false PowerShell
Get exit code from Batch file? PowerShell
redirect powershell stdout to objShell.Exec.Stdout.ReadAll()( PowerShell
STERRR and Exit Code - how to obtain from PSH? PowerShell
Automatic code execution on exit PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46