[futurebasic] FSSpec: Folder in a Folder

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2004 : Group Archive : Group : All Groups

From: Darron Forehand <glo@...>
Date: Wed, 22 Sep 2004 23:42:57 -0500
Hi all.  I'm trying to make the switch to FSSpec from the old volRefNum% 
in FB^3, and I'm just not getting it all after a number of days of 
looking at/for samples and trial and error (mostly error).  This 
includes studying the FutureBasic Reference eDoc and the book Switching 
to FutureBasic.  I know it must be easy and I'm ashamed to say that it's 
just not clicking.

More specifically, I've made a FSSpec from scratch (as opposed to having 
the user make it--this is the way it needs to be done in this case).  It 
creates a folder (inside the App's folder) and then saves a file in that 
folder.  The problem I'm having is trying to create another folder 
inside the first, and saving another file in it.  Hierarchically, it 
should look something like this:

App Folder
.....1st Folder
..........File 1
.....2nd Folder
..........File 2
.....3rd Folder
..........File 3

etc.

What I'm getting is this:

App Folder
.....1st Folder
..........File 1
..........File 2
..........File 3
.....2nd Folder

If anyone could help out, I would consider naming my thirdborn after 
you. ;)  Thank you in advance.

Darron Forehand



--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...