From owner-freebsd-questions Tue Feb 24 02:50:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA16300 for freebsd-questions-outgoing; Tue, 24 Feb 1998 02:50:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA16229 for ; Tue, 24 Feb 1998 02:49:51 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.7/8.8.7) with ESMTP id RAA11248; Thu, 19 Feb 1998 17:08:38 GMT (envelope-from kpielorz@tdx.co.uk) Message-ID: <34EC6716.EAEFD0F5@tdx.co.uk> Date: Thu, 19 Feb 1998 17:08:38 +0000 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Daniel_Soares/Nursing/USB/SUNYCON@notes2.nursing.sunysb.edu, questions@FreeBSD.ORG Subject: Re: References: <852565B0.005D1EC8.00@notes2.nursing.sunysb.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Forgoing the obvious - Why ask about DOS on a FreeBSD list? something like: "dir filespec.ext /s" will recursively search the directory tree down from the current directory and return any instances of 'filespec.ext'. What you'll be able to do from there I don't know, DOS has some pretty weird concepts of PIPE's... ;-) Good luck... Regards, Karl Daniel_Soares/Nursing/USB/SUNYCON@notes2.nursing.sunysb.edu wrote: > > Is there a command in DOS that would return the path of a given file name. > For eg. I know a file Test.dan exists somewhere on my harddrive. I need to > have DOS return the pathname for that file so that I can then pipe it into > a batchfile to have it deleted. > > Any help would be appreciated. > > Daniel Soares To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message