>Thanks Phil BUT my "stacks" are on the CD-ROM. The path I need is to text
>files on the hard drive. In the README I offer users the ability to
>customise critical portions of my "stacks" by placing text files in a first
>level folder/directory with the name "PPacTxt". The buttons, report header
>fields etc open and read from the text file on openCard. This is all easy
>to do on Windows because the simplified script is:
> put "/C:/PPacTxt/textFile"" into introFile
> if there is a file introFile then
> open file introFile
> read from file introFile until eof
> put it into bg fld "field"
>
>BUT how do I do this in MacOS when I dont know the name of the hard drive
>eg. the path could be "/Macintosh HD/PPacTxt/textFile" or "/Wallies
>HD/PPacTxt/textFile" or "/!*!*!*!/PPacTxt/textFile" etc.
>
>Rob Pitt
For this problem, I've used an very old Hypercard XFCN distributed as an
example by Apple in its Developpers's CD. It is the GetVol() XFCN, which
return the list of the current mounted volumes. If you need it, I can send
you both the source (102 lines) and the compiled XFCN.
H. Chaudet
--------------------------------------------------------
Herve Chaudet & Liliane Pellegrin-Chaudet
e-mail : [EMAIL PROTECTED]
gsm : 0 608 05 98 09
Laboratoire de Biomathematiques, Informatique Medicale
Unit� UPRES EA 2672
Faculte de Medecine - 27, Bd Jean Moulin
13385 Marseille cedex 5 - France
Tel (33) 0 491 791 910 - Fax (33) 0 491 794 013
Service de l'Information Medicale
Hopital Nord - Chemin des Bourrelly
13326 Marseille cedex 15 - France
Tel (33) 0 491 968 020 - Fax (33) 0 491 968 025
--------------------------------------------------------