Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!hydra!fikree From: fikree@hydra.bucknell.edu (mateen fikree) Newsgroups: comp.sys.mac.programmer Subject: Help needed for scanning of Hard Disk Message-ID: <352@hydra.bucknell.edu> Date: 19 Feb 90 02:35:03 GMT Reply-To: fikree@hydra.bucknell.edu (mateen fikree) Organization: Bucknell University, Lewisburg, Pa. Lines: 25 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