[comp.sys.mac.programmer] Help needed for scanning of Hard Disk

fikree@hydra.bucknell.edu (mateen fikree) (02/19/90)

Greetings,
       My senior design project partner and myself are working on
writing an application program for the Macintosh.  We want our
program to form a list of all files and directories on a hard disk for the
purposes  of comparing this list to another list of filenames.  This list
has to contain information on which directories contain which files and
subdirectories.

We think that to determine the name of the hard disk (the root directory
name), we should use GetVInfo.  To determine the files and subdirectories
(folders) in this root directory we think we should use GetCatInfo
in a recursive way as suggested in Inside Macintosh IV page 101.  Inside
Macintosh is not clear on how to do this.

Any suggestions/code on how to do this?  We are using Think C 4.0 to
do our coding.

Please e-mail all replies to me.  Thanks in advance to all who reply
to this message.

- Mateen Fikree.
- Kim Dornisch.
--
fikree@bknlvms.bitnet
fikree@hydra.bucknell.edu

Andrew_III_Miller@cup.portal.com (02/23/90)

I am currently facing the same problem.  I have made contact with a programmer
at Apple and he will be supplying me with a Technote that covers this topic.
I find that this is a very confusing task to pull offf.  When I receice the in
info I will post it here.  I hope it will solve the problems.  Other suggestio
ns form readers out there are greatly appreciated.

                                 Andy