delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/11/04/17:36:56

Date: Tue, 4 Nov 1997 14:35:51 -0800 (PST)
From: Evan Dickinson <evand AT wsunix DOT wsu DOT edu>
Reply-To: evand AT scn DOT org
cc: opendos AT delorie DOT com
Subject: Re: questions.
In-Reply-To: <sissb1971104111147@sisna.com>
Message-ID: <Pine.OSF.3.95.971104142321.6162A-100000@unicorn.it.wsu.edu>
MIME-Version: 1.0

On Tue, 4 Nov 1997 sb1 AT sisna DOT com wrote:

[snip]
> 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.

> 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
also doesn't complain about copy /y even though it doesn't support the /y
switch.


  Evan

- Raw text -


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