Dec 282017
Locate file & cd to dir/ W.Christensen.
File CDTO.ZIP from The Programmer’s Corner in
Category File Managers
Locate file & cd to dir/ W.Christensen.
File Name File Size Zip Size Zip Type
CDTO.COM 574 513 deflated
CDTO.DOC 1050 567 deflated

Download File CDTO.ZIP Here

Contents of the CDTO.DOC file

CDTO.COM by Ward Christensen 10/07/87

This program will change directory to the directory a given file is
contained in.
If you have lost a file on a disk, you would usually use a "whereis"
type program to find the file, then CD to the directory WHEREIS found
it in.
This program performs that function for you.
If the file is not found, it leaves you at the root level.
If you specified a wild card (? or *) in the filename then it will
ASK you for each file, whether this is the one you want to stop at.
You can press:
N (upper or lower case) to look for another match, -or-
Y (upper or lower case) to stop there
(space) to stop
(esc) to stop
Q to quit. Y, space, esc, and Q all do the same thing.

Enjoy. Please report bugs.

Bug-or-feature: if given a DIRECTORY name, it will change to the
directory which CONTAINS that directory. It does this because when you
say to find "something", it stops when that "something" is IN the
current directory.

Ward Christensen 76703,302

 December 28, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>