I ran this code to no avail:
while jumpNext = 0
print("Stage 0")
if getPointerPressed() then jumpNext = 1
Render()
fn$=GetFirstFile()
count = 0
while fn$<>""
Print(Spaces(2)+fn$)
Inc count
fn$=GetNextFile()
endwhile
print("==folders==")
fnF$=GetFirstFolder()
countF = 0
while fnF$<>""
Print(Spaces(2)+fnF$)
Inc countF
fnF$=GetNextFolder()
endwhile
print("==folders==")
Print("Total Number of Files: "+Str(count,0))
Print ("Total Folder Count:"+Str(countF,0))
Sync()
endwhile
jumpNext = 0
SetFolder( "" )
while jumpNext = 0
print("Stage 1 ''")
if getPointerPressed() then jumpNext = 1
Render()
fn$=GetFirstFile()
count = 0
while fn$<>""
Print(Spaces(2)+fn$)
Inc count
fn$=GetNextFile()
endwhile
print("==folders==")
fnF$=GetFirstFolder()
countF = 0
while fnF$<>""
Print(Spaces(2)+fnF$)
Inc countF
fnF$=GetNextFolder()
endwhile
print("==folders==")
Print("Total Number of Files: "+Str(count,0))
Print ("Total Folder Count:"+Str(countF,0))
Sync()
endwhile
jumpNext = 0
SetFolder( "" )
while jumpNext = 0
print("Stage 1b ''")
if getPointerPressed() then jumpNext = 1
Render()
fn$=GetFirstFile()
count = 0
while fn$<>""
Print(Spaces(2)+fn$)
Inc count
fn$=GetNextFile()
endwhile
print("==folders==")
fnF$=GetFirstFolder()
countF = 0
while fnF$<>""
Print(Spaces(2)+fnF$)
Inc countF
fnF$=GetNextFolder()
endwhile
print("==folders==")
Print("Total Number of Files: "+Str(count,0))
Print ("Total Folder Count:"+Str(countF,0))
Sync()
endwhile
jumpNext = 0
SetFolder( "/.." )
while jumpNext = 0
print("Stage 2 '/..'")
if getPointerPressed() then jumpNext = 1
Render()
fn$=GetFirstFile()
count = 0
while fn$<>""
Print(Spaces(2)+fn$)
Inc count
fn$=GetNextFile()
endwhile
print("==folders==")
fnF$=GetFirstFolder()
countF = 0
while fnF$<>""
Print(Spaces(2)+fnF$)
Inc countF
fnF$=GetNextFolder()
endwhile
print("==folders==")
Print("Total Number of Files: "+Str(count,0))
Print ("Total Folder Count:"+Str(countF,0))
Sync()
endwhile
jumpNext = 0
SetFolder( "/" )
while jumpNext = 0
print("Stage 3 '/'")
if getPointerPressed() then jumpNext = 1
Render()
fn$=GetFirstFile()
count = 0
while fn$<>""
Print(Spaces(2)+fn$)
Inc count
fn$=GetNextFile()
endwhile
print("==folders==")
fnF$=GetFirstFolder()
countF = 0
while fnF$<>""
Print(Spaces(2)+fnF$)
Inc countF
fnF$=GetNextFolder()
endwhile
print("==folders==")
Print("Total Number of Files: "+Str(count,0))
Print ("Total Folder Count:"+Str(countF,0))
Sync()
endwhile
jumpNext = 0
SetFolder( ".." )
while jumpNext = 0
print("Stage 5 '..' ")
if getPointerPressed() then jumpNext = 1
Render()
fn$=GetFirstFile()
count = 0
while fn$<>""
Print(Spaces(2)+fn$)
Inc count
fn$=GetNextFile()
endwhile
print("==folders==")
fnF$=GetFirstFolder()
countF = 0
while fnF$<>""
Print(Spaces(2)+fnF$)
Inc countF
fnF$=GetNextFolder()
endwhile
print("==folders==")
Print("Total Number of Files: "+Str(count,0))
Print ("Total Folder Count:"+Str(countF,0))
Sync()
endwhile
jumpNext = 0
while jumpNext = 0
if getPointerPressed() or getRawKeyPressed(27) then jumpNext = 1
print("END")
sync()
endwhile
end
And I put a graphic in the "media" directory to see if I could find it and I did, in the first section. Then when I used setfolder("") it jumped to another directory with AppGameKit assets in it.
but I could not go further toward the root directory.