Shell.Exec 
Author Message
 Shell.Exec

Hello all,

I have a quick question that someone might know right of hand. I just
learned about Shell.Exec and how it can capture output from commands it
runs. Does anyone if this is compatible with Wsh 5.1? If someone can answer
this for me, or direct me to where I can find this info i would really
appreciate it.

Thanks all,

-Jose



Mon, 25 Jul 2005 03:35:03 GMT  
 Shell.Exec

Quote:
>  I have a quick question that someone might know right of hand. I just
> learned about Shell.Exec and how it can capture output from commands
> it runs. Does anyone if this is compatible with Wsh 5.1? If someone
> can answer this for me, or direct me to where I can find this info i
> would really appreciate it.

This only appeared in WSH 5.6, sorry.  Trying to use it with WSH 5.1 will
generate an error.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/scri...
ml/wsversion.asp
is a link that is very handy for determining if a given method is available
on a specific version of WSH. Thanks to Torgeir Bakken for posting this link
to the group some time ago; I wasn't even aware it existed until he did.



Mon, 25 Jul 2005 04:06:20 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. difference between Shell.run and Shell.exec

2. WSH 5.6 Beta - Shell.Exec

3. Using Scripting.Shell Exec command to capture the results of a SFTP ls command

4. Wscript.Shell Exec method

5. FTP Shell.Exec

6. wscript.shell.exec STDOUT / ReadAll size limit?

7. WSH 5.6 beta - Shell.Exec

8. API Question Concerning Shell/Exec VB5.0

9. HELP WITH SHELL/EXEC...

10. Launching an exec from a client script using shell

11. find path to exec (SHELL)

12. using shell to exec dos app and redirect it's output

 

 
Powered by phpBB® Forum Software