Pipes and redirection work in the shell. See also "findstr" for grep.

 

-sc

 

From: Joseph L. Casale [mailto:[email protected]] 
Sent: Thursday, June 18, 2009 5:28 PM
To: NT System Admin Issues
Subject: Shell Scripting Question

 

I have a command that I grep a value I need, I want to pipe its output
into a field of another command like this:

iscsicli listTargets |grep -i <string> |iscsicli qLoginTarget <output of
second pipe>

 

How do you achieve such flow in the windows shell?

 

To further complicate matters, I need to further process the output of
the qLoginTarget output...

 

Thanks!
jlc

 

 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to