home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!apple!mlanett
- From: mlanett@Apple.COM (Mark Lanett)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Storing a reference to a file ..
- Message-ID: <71285@apple.Apple.COM>
- Date: 17 Aug 92 15:32:20 GMT
- References: <5222@krafla.rhi.hi.is>
- Organization: Apple Computer Inc., Cupertino, CA
- Lines: 18
-
- rson@rhi.hi.is (Reynir Hugason) writes:
-
- >Ok here is the scenario: I have a project file. I want to store from within
- >the project file, which files are included in the project and some info
- >about each file. Presently I simply take the FSSpec and save it; however,
- >this is not suffiecent. What happens is that my program cant find files
- >if I start up from another disk. The only solution I can imagine is to
- >store the volume name and perhaps creation date of the volume as well ANDOR
- >use these file id things.
-
- >How would you do it?
-
- Save an alias. If all the files are in the same folder as the project file, you
- can make their aliases _relative_ to the project file, which should work even
- when you move all the stuff to a different disk.
- --
- Have a bajillion brilliant Jobsian lithium licks.
- Mark Lanett, NOT speaking for anyone. Personal opinion only.
-