Hi there.
@PirateJohn You can use the whole path to folder or cd ".." as mentioned. I you are doing something like a file browser try this:
find:
cls
rem files in folder
mydir$=get dir$()
le=0
for i= 1 to 130
if right$(mydir$,i)<>"\" then le=le+1
next i
print right$(mydir$,le)
dim nam$(25)
f=1
find first
repeat
nam$(f)=get file name$()
tip=get file type()
if tip=1
`folder design
ink rgb(255,255,0),0:box 5,f*16,15,f*16+10:ink rgb(100,100,0),0:box 6,f*16+2,14,f*16+5
ink rgb(255,255,255),0
set cursor 20,f*16
print nam$(f)
f=f+1
endif
rem sleep 20
find next
until get file type()=-1 or f=25 rem 25 folder limit for this example
ink rgb(255,255,0),0 :set cursor 250,150:print "CHAFARI EXAMPLE": ink rgb(255,255,255),0
do
if mousey()<f*16 and mousex()<14
if mouseclick()=1
run=run+1
if run=1
set dir nam$(mousey()/16)
goto find
endif
else
run=0
endif
endif
sync
loop
I'm not a grumpy grandpa
