[futurebasic] File Handling Phiosophy

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2000 : Group Archive : Group : All Groups

From: Phil Yates <phil.yates@...>
Date: Thu, 16 Nov 2000 06:52:46 +0000
I have a program that needs to load about a thousand files, all variously
nested inside one master folder.

I have code that does this without any problem. It scans the folder, and
loads all the files up one by one, recursively walking its way through the
folder structure.

But I need to save where these files are, in a Prefs file.
Again, I'm doing this OK, by storing the path for each file.

However, if I move the master folder, all the paths change. I have code that
traps this, and re-indexes the master folder if it detects a change in
location.

I have never used aliases, though, and I wondered if their use could improve
thew way I handle the master folder and its enclosed files.

Any suggestions and / or observations would be welcome.

Phil.