Alternative to Redirecting command input in windows
Is there any way I coluld use some alternative approch to "redirecting command input" in windows command shell? For example, consider the following command:
app.exe &开发者_如何学JAVAlt; ListOfNames.txt
Content of the file ListOfNames.txt might be: Name1 Name2 Name3
So, is it possible to avoid using redircting operator and use something like this:
app.exe Name1 Name2 Name3
Of course, this wouldn't work, but is there some similar approach that could work?
You can try to win a Useless Use of Cat Award by using type on Windows:
type ListOfNames.txt | app.exe
精彩评论