#102638 - 2003-07-09 12:46 AM
Re: Shell and quotes
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
quote: richard, how come you say it's mess?
I was referring to CMD in general rather than Howards solution.
It takes a special kind of talent to take a process which is already flawed, ambiguous and inconsistant and rather than fix it fiddle with it and make it far worse. MS really do have some talented individuals.
I mean, what in the name of the wee man is this about: quote: /V:ON Enable delayed environment variable expansion using ! as the delimiter. For example, /V:ON would allow !var! to expand the variable var at execution time. The var syntax expands variables at input time, which is quite a different thing when inside of a FOR loop.
I know NT+ are GUI operating systems, but is there really any need to obfuscate command line usage to the extent that variable expansion only works on Tuesday mornings when the operator is oriented 27.4 degrees east of magnetic North wearing a spangly thong and has had smoked haddock for breakfast.
quote: and didn't it have also limitation? something that it's only working on NT-based systems?
Yup. You'd think they'd pick something that works and stick with it.
Having a character which acts as an "escape" or "cancel" for following characters is a very simple thing to code and understand. What's more, it works in every situation. [ 08. July 2003, 13:08: Message edited by: Richard H. ]
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 476 anonymous users online.
|
|
|