|
![](/i/fill.gif) |
Nicolas Alvarez wrote:
> Patrick Elliott wrote:
>> 2. Woops... This won't work without #1, so you are SOL.
>
> Wrong, you can print colors in a Windows console. You just can't do it with
> ANSI codes. A 'dir' that prints color is still possible.
>
Uh, not talking about printing color. Anything can do that, if its
designed to do so using "direct" hardware (or simulated, as it where)
accesses, but, in the majority of cases, the existing tools, never mind
what you can do directly in something like .bat, you "need" ANSI. And,
that isn't even mentioning the vast number of still usable things,
including some utilities, that used it, instead of the direct method, to
get color. Mind, I think later versions of 4DOS did do it direct, but
that, at the time, just created even more confusion for people wondering
why *it* worked, but nothing else they where using did. lol
>> 3. Umm.. Kind of, if you string a lot of files together. I think they is
>> a sort function in the DOS utilities, though I don't think it comes
>> "with" Windows, and I doubt you can find DOS any more. But, it would
>> work something like, "dir {flags for the stuff that is supported} | sort
>> | more", easy... As long as you don't want "any" bloody real control
>> over what is going on in those steps, and you don't mind looking up sets
>> of commands flags you never use, for 2-3 utilities. You, well... can't
>> do some of it at all in the GUI, not really, at least not as cleanly, or
>> clearly, as you can in the prompt.
>
> 'dir' has switches to sort by different criteria. There is also a 'sort'
> command that works as a filter you can pipe stuff into.
>
Hmm. Yeah. Come to think of it, they did eventually add "something", it
was just less than helpful. lol Still, you can't pipe the result into a
"list" command, if its a massive directory, so you still have to use
'more', which won't let you page through the results. Well, unless you
pipe it to a *giant* file, then read that in the new notepad. lol
--
void main () {
if version = "Vista" {
call slow_by_half();
call DRM_everything();
}
call functional_code();
}
else
call crash_windows();
}
<A HREF='http://www.daz3d.com/index.php?refid=16130551'>Get 3D Models,
3D Content, and 3D Software at DAZ3D!</A>
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Patrick Elliott wrote:
> Hmm. Yeah. Come to think of it, they did eventually add "something", it
> was just less than helpful. lol Still, you can't pipe the result into a
> "list" command, if its a massive directory, so you still have to use
> 'more', which won't let you page through the results. Well, unless you
> pipe it to a *giant* file, then read that in the new notepad. lol
Wait... You want to sort a "massive" directory, page through it back and
forth, but you don't want it going onto the disk? You realize it doesn't
work that way, right? By the definition of the problem, you have to
completely generate the directory output before the sort can show you what
the first result is. It's a classic offline computing problem. There's no
such thing as an online sort.
BTW, what is this "list" command of which you speak?
--
Darren New, San Diego CA, USA (PST)
There's no CD like OCD, there's no CD I knoooow!
Post a reply to this message
|
![](/i/fill.gif) |