Rate this script:  I Love it  /   I Hate it

Run command on string, returning output


Code


var shell = WScript.CreateObject("WScript.Shell");

var exec = shell.Exec("tr a-z A-Z");
exec.StdIn.Write("hello, world");
exec.StdIn.Close();
WScript.StdOut.Write(exec.StdOut.ReadAll());
 

 

 
Run command on string, returning output scripts | Run command on string, returning output snippet | Run command on string, returning output example | Run command on string, returning output tutorial | Run command on string, returning output code