|
![](/i/fill.gif) |
On 28/08/2013 02:55 PM, Warp wrote:
> Orchid Win7 v1<voi### [at] dev null> wrote:
>> (OK, so if you do a Google search, there is actually a workaround for
>> grabbing command output in a variable. You can do this:
>
>> foo.exe> temp.txt
>> SET /P VAR< temp.txt
>
>> Isn't that intuitive?)
>
> Why wouldn't "foo.exe | SET /P VAR" work? Or didn't pipes work in DOS like
> they do in unix?
I'm not sure why it doesn't work - but I just tried it, and it doesn't.
It's probably related to SET being a shell built-in or something
retarded like that.
Post a reply to this message
|
![](/i/fill.gif) |