Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 1998 15:48:55 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Daniel_Soares/Nursing/USB/SUNYCON@notes2.nursing.sunysb.edu
Cc:        questions@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <Pine.BSF.3.96.980219154814.658a-100000@gdi.uoregon.edu>
In-Reply-To: <852565B0.005D1EC8.00@notes2.nursing.sunysb.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980219154814.658a-100000>