From owner-freebsd-questions Thu Feb 19 15:49:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21277 for freebsd-questions-outgoing; Thu, 19 Feb 1998 15:49:26 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21127 for ; Thu, 19 Feb 1998 15:49:03 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id PAA00785; Thu, 19 Feb 1998 15:48:55 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 19 Feb 1998 15:48:55 -0800 (PST) From: Doug White Reply-To: Doug White To: Daniel_Soares/Nursing/USB/SUNYCON@notes2.nursing.sunysb.edu cc: questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <852565B0.005D1EC8.00@notes2.nursing.sunysb.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 19 Feb 1998 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. See find(1). `find / -name Test.dan -print' | rm -i Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message