POV-Ray : Newsgroups : povray.off-topic : Where is the world going? : Re: Where is the world going? Server Time
29 Jul 2024 02:32:05 EDT (-0400)
  Re: Where is the world going?  
From: Orchid Win7 v1
Date: 28 Aug 2013 13:32:41
Message: <521e3439$1@news.povray.org>
On 28/08/2013 02:55 PM, Warp wrote:
> Orchid Win7 v1<voi### [at] devnull>  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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.