Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: roamer_1
Comparing DOS to NTVDM is absurd, without even mentioning PowerShell. One of the best new things in NTVDM is the innate ability to process lists in a FOR loop, making batch processing a cinch. Add to that the ability to use (and the improvement in) jscript, vbscript, and wscript (again, not even mentioning PowerShell), and there is no comparison whatsoever.

Good to know winders finally understands the concept of a 'for' loop.

It's hard to believe it's taken this long.

Too bad microsoft took so long to come to scripting table. (unix has had awesome scripting capabilities forever) Heck, even IBM DOS 7.0 had REXX, which was incredibly powerful. Especially since way back then, when I had either a 486 or maybe a Pentium, you could actually write a script in Rexx that would run on PCs running  DOS, and OS/2, then take that same script and run it on an actual mainframe without changes.

 

68 posted on 09/20/2013 1:56:34 PM PDT by zeugma (Is it evil of me to teach my bird to say "here kitty, kitty"?)
[ Post Reply | Private Reply | To 48 | View Replies ]


To: zeugma

Thank you. The absurdity is Microsoft’s cripple of an operating system that’s come to dominate our desktops.


69 posted on 09/20/2013 1:59:29 PM PDT by Revolting cat! (Bad things are wrong! Ice cream is delicious!)
[ Post Reply | Private Reply | To 68 | View Replies ]

To: zeugma
Good to know winders finally understands the concept of a 'for' loop. It's hard to believe it's taken this long.

I know, right? What good is FOR if it can't read lists? But, the trade-off is that pipes don't work, or at least work erratically, because each command is basically a new instance of the console, and pipes don't seem to be inherited. I would LOVE to have reliable pipes back. It is the one thing I really miss from DOS. The work-around means pretty much everything has to be output to a temp batch to run.

Too bad microsoft took so long to come to scripting table. (unix has had awesome scripting capabilities forever)

Windows is a different economy - It has never claimed to have a powerful console, so one doesn't assume the tools are there. Every DOS guy I know has a pathed directory full of toys that make up the difference. Even now, I am more likely to use external apps because I have been using them so long that their syntax is familiar... I have an old console app named LSTFILE that I prefer for processing lists, even though FOR can do it... or when I need a bang-counter, even though SET has a bang-counter built in... old dogs/new tricks : )

So I guess it is a different expectation - DOS/Win just presupposes one needs to have a toy box full of simple add-on apps, while in nix, one fights arcane syntax to do what you know is already in-built. Is one better than the other? Hard telling...

Heck, even IBM DOS 7.0 had REXX, which was incredibly powerful.

REXX is still around - I don't use it myself, as I don't have the convenience of a client/server orientation. My stuff has to work in the field, so I have pretty much written my own console apps to maintain a fair degree of portability... That which isn't native on the box (which I try very hard to adhere to), that is. There IS a portable REXX, I hear, that works in conjunction with Java somehow - but I really haven't messed with it yet, and really don't need more toys.

87 posted on 09/20/2013 7:19:16 PM PDT by roamer_1 (Globalism is just socialism in a business suit.)
[ Post Reply | Private Reply | To 68 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson