delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/11/11/09:17:25

To: evand AT scn DOT org
Cc: opendos AT delorie DOT com
References: <Pine DOT OSF DOT 3 DOT 95 DOT 971104142321 DOT 6162A-100000 AT unicorn DOT it DOT wsu DOT edu>
Message-Id: <AOFv5Qqe9U@belous.munic.msk.su>
From: "Arkady V.Belousov" <ark AT belous DOT munic DOT msk DOT su>
Date: Tue, 11 Nov 1997 16:31:59 +0300 (MSK)
Organization: Locus
Reply-To: ark AT mos DOT ru
Subject: Re: questions.
Lines: 33
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019