Opening Dual WIndows in Batch FIle

A

Al Dunbar

billious said:
Al Dunbar said:
billious said:
dbareis wrote:
[snip - START command documented syntax]

Dennis is right, though, in deducing from the help text that the
title is "optional". It is just that it is only optional when it is
not required.

/Al- Hide quoted text -

- Show quoted text -
Well, it *is* optional in that it is not always required. Where the docs
fail is in not explaining the why's and the wherefore's of this, leaving
it up to this newsgroup to explain.

Also, I suspect that the help file info was written after the command was
developed, and by people other than the development team. We can argue
that the help text is inaccurate, or we could lay more of the blame on
the command itself. Unfortunately, neither case will cause either of the
blameworthy parts to be fixed.

/Al

...

set exe="C:\a b\c.exe"
start %exe% 1.txt

Oh dear, you don't really believe I didn't automate the testing?

Here's one of the batches I used:

I did it this way to be sure of trying all combinations.

I would have expected the programmer to have consistently interpreted
parameters as tokens separated by er, separators - each string being a
token, and where a token is required to contain a separator, then the
string needs to be quoted. It seems from the way that START is implemented
that this philosophy was NOT followed.
Granted.

Why change horses in midstream?

Indeed. So, we are on this horse now...
The failure to implement 0D/0o or date/u is clearly a developer's
decision. It would seem that these decisions were made without adequate
consideration of the consequences.

IMHO, when batch commands were first developed, I strongly suspect that they
had very little idea of the extent to which users would run into problems
because of our innate tendency to assume that they were developing a
consistent and sophisticated programming language rather than slightly
extending an interactive command processor. ;-)
I can't see that it's relevant whether the documentation was an
afterthought performed by a different section or whether it was done by
the developers.

That was just my observation, not an actual argument. In fact, if we cannot
tell which might be the case then it doesn't really matter how we wound up
with what we have to deal with.
Whoever did it didn't use the verification tools available, or disregarded
the results.

I suspect that, whatever verification processes may have been used simply
demonstrated that the code worked the way they expected it to. It does seem,
however, that they were not sticklers for consistency and simplicity in how
the command processes its arguments.
I've been astonished by encountering so programmers who seem to have
difficulty in this area. After all, their profession requires strict
adherence to syntax and spelling - they even seem to revel in
StupidLongMixedCaseVariableNames.

We all have our style preferences, however, I don't see where it is clear
that the developers of the START command are of the SLMCVN ilk.
What now appears to be the case is that quoted parameters to START are
processed in an irregular manner, which wouldn't have been evident had the
discussion been restricted the the original particular example..

So then, it's a good thing that we followed off on this tangent?

/Al
 
B

billious

Al Dunbar said:
We all have our style preferences, however, I don't see where it is clear
that the developers of the START command are of the SLMCVN ilk.

Programmers in general (not restricted to whoever is resonsible for "START")
seem to have poor spelling abilities, appearing even to take some perverse
pride in their self-proclaimed disability. I find this curious when their
working environment mandates strict adherence to spelling and syntax. What
drives them to exacerbate the torture by using SLMCVNs and case-sensitive
languages like Java?

On the other hand, order-clerks want to describe themselves as "IT
Personnel" nowadays, based on the fact that they use a data-entry system
rather than pen and ink. Same notion goes for vets and dentists - even
chiropractors - who call themselves "doctor."
 
A

Al Dunbar

billious said:
Programmers in general (not restricted to whoever is resonsible for
"START") seem to have poor spelling abilities, appearing even to take some
perverse pride in their self-proclaimed disability.

While I have no doubt this characterization is accurate for *some*
programmers, it is not clear how you deduce it to be universally true, or
even just true "in general".
I find this curious when their working environment mandates strict
adherence to spelling and syntax.

I don't find it curious (for those cases that match your description), and
for much the same reason that I do not find it curious that you continue to
beat this particular drum...
What drives them to exacerbate the torture by using SLMCVNs and
case-sensitive languages like Java?

Ask one of them.
On the other hand, order-clerks want to describe themselves as "IT
Personnel" nowadays, based on the fact that they use a data-entry system
rather than pen and ink. Same notion goes for vets and dentists - even
chiropractors - who call themselves "doctor."

Are there perhaps other groups you would like to slag here?

/Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top