Mail Archives: opendos/1997/11/11/09:17:25
X-Comment-To: Evan Dickinson
Hi!
4-ξΟΡ-97 14:35 evand AT wsunix DOT wsu DOT edu (Evan Dickinson) wrote to :
> On Tue, 4 Nov 1997 sb1 AT sisna DOT com wrote:
> > 2. The copy command in ms dos has a prompt to overwrite files if they exist.
> > The /y switch is used. Will opendos support the /y switch.
> > I don't like ms dos prompting me but the batch file written for ms dos
> > will not work with caldera because it says invalid switch.
> echo y | copy blah blah blah
> This will feed 'y' and a return to the copy command. In effect, hitting y
> for you.
All of this is not required. Read MS's "help copy" carefully:
"/Y
[...]
If the COPY command is part of a batch file, COPY will behave as in
previous versions.
"
So, you can simply ommit /y in batch-files.
> > 3. The dir/b command in ms dos does not work in opendos.
> > I know about the xdir/b but it's a pain to remember the differences.
> The command.com replacement 4dos (www.jpsoft.com) supports dir /b. It
Yes. Also NDOS (old 4DOS from Norton Utilities) support /b switch.
> also doesn't complain about copy /y even though it doesn't support the /y
> switch.
- Raw text -