Might be late, but if you want to read a different folder inside a folder, then you need to set up the folder for reading each time.
This is what Paul did to set up folders for correct reading from the intended folders:
The act of calling the SetFolder("") with an empty string is very important.
We had to call it whenever we want to set a new folder for reading.
SetRawWritePath("E:\Temp")
SetFolder("")
do
folder$ = GetFirstFolder()
print( folder$ )
while( folder$ <> "" )
folder$ = GetNextFolder()
print( folder$ )
endwhile
Sync()
loop
Quote: "
We had to call the SetFolder("") with an empty string for the other commands to 'read' from the 'write' file.
By default the folder is set with SetFolder("/media") when the app starts running, so in this case GetFirstFolder() would be looking in E:\Temp\media.
If you are using other load commands then you can work around this by forcing the path to root by using LoadImage("/myimage.png") which will ignore the SetFolder part of the path. Or LoadImage("/media/myimage.png") to load it from the media folder whilst SetFolder is set to the empty string.
The GetFirstFile and GetFirstFolder commands collate results from both the read and write folder into a single list. In this case the write folder is listed first and then the read folder.
Duplicate file and folder names will only appear once in the list.
"