Relative folder paths
Bill Vlahos
bvlahos at mac.com
Fri May 25 22:09:07 EDT 2007
Richard,
This doesn't seem to do anything useful to me.
How would I get a list of files in the "DataFileFolder" and then get a list of files in the "Preferences" folder?
Bill
On Friday, May 25, 2007, at 05:17PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
>Bill Vlahos wrote:
>
> > Lets say I have a folder containing a standalone, Data folder,
> > and Preference folder all at the same level. The defaultFolder
> > would be the folder at the level of the standalone.
> >
> > If I change the defaultFolder to "DataFileFolder" I can then
> > just "put the files into vFilesList" to get a listing of the
> > files. However, this resets the defaultFolder value so I can't
> > get to things in the Preference folder.
> >
> > How would I get a listing of files in the
> > defaultFolder/DataFileFolder?
>
>Just move up one with "../":
>
> set the directory to "../DataFileFolder/"
>
>
>--
> Richard Gaskin
> Fourth World Media Corporation
> ___________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list