Relative folder paths
Richard Gaskin
ambassador at fourthworld.com
Fri May 25 20:17:01 EDT 2007
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
More information about the use-livecode
mailing list