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

Sender: andreas AT ri DOT dasa DOT de
Message-Id: <347D803F.6F512CE7@ri.dasa.de>
Date: Thu, 27 Nov 1997 15:14:23 +0100
From: Andreas Schulz <Andreas DOT Schulz AT ri DOT dasa DOT de>
Organization: Daimler-Benz Aerospace, Space Infrastructure
Mime-Version: 1.0
To: opendos AT delorie DOT com
Cc: Philip A Lettkeman <phil DOT man AT juno DOT com>
Subject: Re: dir
References: <19971127 DOT 063840 DOT 6391 DOT 3 DOT Phil DOT man AT juno DOT com>

Philip A Lettkeman wrote:
> While everyone is on a rant about the dir command, I miss the DIR /S from
> MS-DOS that does a search of current directory and all subdirectories to
> find a file.  Is there an OpenDOS equivalent?

My favourite : 
  tree c:\foo\bar\*.bak
will find all .bak files below c:\foo\bar and give full information
including
attributes, date, size and path - for all files, even for sh-attributes
set.
(Note that you don't need the /f option when you specify a file name)

  xdir /s might also do the job, but I've hardly used it yet ..

Andreas

- Raw text -


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