[futurebasic] Re: [FB] Old Files$ vs New Files$

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2010 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Mon, 22 Mar 2010 14:51:34 -0700
On Mar 22, 2010, at 12:35 PM, Peter wrote:

> What do I have to do to place the name "diskLoad" into  FileRef.

You don't. An FSRef ( what the FileRef is ) is an opaque structure  
that represents a file or directory of an existing file.  Appendix A  
in the FBHelp is a good review of the file objects ( FSRefs, CRURLRefs  
etc. ).



> I looked at the Examples but could not find any that bypass the Files 
> $ setup.

This sounds like you do not want to use files$ but the sample code  
posted shows its use. Please clarify what you want to do. Does the  
variable 'diskload' contain the name of a directory in which the files  
reside? Please describe what files/folders need to be accessed and  
where they are located relative to the executing application. A good  
detailed description should enable the list to assist. As posted I'm  
not sure what you need.

Brian S