Article View: comp.os.msdos.programmer
Article #7836Re: C questions (intermediate?)
From: D'Arcy J.M. Cain
Date: Sat, 21 Mar 1992 13:50
Date: Sat, 21 Mar 1992 13:50
25 lines
1444 bytes
1444 bytes
mir@opera.chorus.fr (Adam Mirowski) writes:
>This is wrong. Use something like system ("echo y | del *.*"),
>but this won't be portable across DOS versions. French DOS
>needs o(ui) or n(on). If you don't provide the correct letter,
>the machine will hang. A ^C or ^Break usually permits to terminate
>the system() call.
Are you absolutely sure about that. I have never been overly impressed
by Microsoft's design skills but this seems stupid even for them. How
can people write portable batch files if they can't count on programs
accepting consistent arguments. I don't mean that there shouldn't be
language versions but they should add responses, not replace them. In
other words:
Version Accepts
English y
French y OR o
Spanish y OR s
etc ...
--
D'Arcy J.M. Cain (darcy@druid) |
D'Arcy Cain Consulting | There's no government
Toronto, Ontario, Canada | like no government!
+1 416 424 2871 DoD#0082 |
Technical Details
Message-ID:
<1992Mar21.135007.23249@druid.uucp>Path:
arc1-ca.pugleaf.net!wupost!usc!rpi!news-server.csri.toronto.edu!torsqnt!lethe!druid!darcyReferences:
<1992Mar17.202925.16262@csrd.uiuc.edu> <1992Mar18.132954.9633@cs.umn.edu> <13152@chorus.fr>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,alt.sources Path: arc1-ca.pugleaf.net!wupost!usc!rpi!news-server.csri.toronto.edu!torsqnt!lethe!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Subject: Re: C questions (intermediate?) Message-ID: <1992Mar21.135007.23249@druid.uucp> Organization: D'Arcy Cain Consulting References: <1992Mar17.202925.16262@csrd.uiuc.edu> <1992Mar18.132954.9633@cs.umn.edu> <13152@chorus.fr> Date: Sat, 21 Mar 1992 13:50:07 GMT Lines: 25