And, assuming "Program2 -t" outputs "chicken" your script would be the equivalent of "Program1 -q chicken" How can I duplicate this in DOS scripting or other windows scripting? (Windows 7, FWIW) ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする