Date: Thu, 19 Feb 1998 09:09:38 -0800 (PST) From: "Michael J. Madio" <mmadio@yahoo.com> To: Daniel_Soares/Nursing/USB/SUNYCON@notes2.nursing.sunysb.edu, questions@FreeBSD.ORG Subject: Re: Message-ID: <19980219170938.6418.rocketmail@send1b.yahoomail.com>
next in thread | raw e-mail | index | archive | help
For starters, why did you post this question to this mailing list? This list is for FreeBSD and not DOS! The answer you are looking for is using the dir command with the /s and /b switches. For example, 'dir test.dan /s /b' issued from the root of a drive would traverse all the directories and return something like 'c:\mydata\test.dan' ---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 > Daniel_Soares@notes2.nursing.sunysb.edu > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > == Michael J. Madio Senior Technical Engineer POYA Computers _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com 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?19980219170938.6418.rocketmail>