Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / MS VBScript / July 2008



Tip: Looking for answers? Try searching our database.

reading stderror stream

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Firewalker82 - 03 Jul 2008 14:12 GMT
An anybody provide me with the answer to the following;

I am calling an wshshell.exec to execute a program.  I can read the stdout
perfectly from this, but I would like to read the stderror so that it
provides more information as to what went wrong.  I have tried playing around
with vbs and reading the stderr stream, but nothing seemes to be streamed
into this property.  If I can get this to work then I would probably output
it to screen or a text file for further troubleshooting.

Thanks

Signature

Firewalker82

urkec - 03 Jul 2008 15:07 GMT
> An anybody provide me with the answer to the following;
>
[quoted text clipped - 6 lines]
>
> Thanks

There us a sample here:

http://msdn.microsoft.com/en-us/library/ye284tb8(VS.85).aspx

Signature

urkec

Firewalker82 - 04 Jul 2008 10:32 GMT
Thanks urkec,

I looked at the example on MSDN and implemented this into my script.  It
returned an echo box with all stdout information.  I am now starting to think
that this app (synctoy 2.0) does not write file synchronisation errors to the
stderr stream as the msdn script should pick all this information from the
streams up and display them.  Another thought on this one is that the
application is doing what it is supposed to as it does perform a sync fine
and reports problematic files that it couldnt copy.  This is the information
that I would like to read in the script so that I can see which files
(including names and locations) did not synchronise, rather than a summary
displaying how many files didn't complete.

thanks anyway
Signature

Firewalker82

> > An anybody provide me with the answer to the following;
> >
[quoted text clipped - 10 lines]
>
> http://msdn.microsoft.com/en-us/library/ye284tb8(VS.85).aspx
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.