home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!apple!mumbo.apple.com!gallant.apple.com!seuss.apple.com!user
- From: absurd@apple.apple.com (Tim Dierks, software saboteur)
- Subject: Re: Remembering file locations
- Sender: news@gallant.apple.com
- Message-ID: <absurd-191192164937@seuss.apple.com>
- Date: Fri, 20 Nov 1992 00:53:30 GMT
- References: <1278@scvme3.UUCP>
- Organization: MacDTS Marauders
- Followup-To: comp.sys.mac.programmer
- Lines: 36
-
- In article <1278@scvme3.UUCP>, kevinc@scvme3.UUCP (Kevin Cutts) wrote:
- >
- > even after the program has been quit and restarted. I've used the
- > System 7 Alias manager with great success. Now I have a user using
- > sys6 who wants the same sort of capability...without the upgrade.
- > What are the techniques used to handle this task. I don't want to
- > reprogram the alias manager but would like to offer a very small
- > subset of its capabilities. Currently my program can locate a file
- > on the same volume as my application but has trouble locating the
- > file across volumes. Inside Mac expounds on all the methods that
- > don't work but none that do!!!
- >
- > tanx in advance,
- > kevinc
-
- Remember:
-
- 1) The file's name
- 2) The directory ID of the file's parent directory
- 3) The name of the volume the file is on
-
- This is the simplest stable reference. It can be expanded for more
- flexibility or stability, which is really what the alias manager
- does. Useful things to add might be:
-
- 4) The file's full path name, in case the directory ID changes
- (this should only happen if the directory is deleted and
- recreated, as might happen if the volume is resotred from
- backup)
- 5) The volume's creation date, to distinguish multiple volumes with
- the same names or in case the volume's name changes
- 6) More information about the file to make identifying it easier,
- should its name or location change.
-
- Tim Dierks
- MacDTS, but I speak for myself
-