PRINT "Current directory: ";CURRENT_DIR$()
PRINT
PRINT "Folders:"
DIR "/" LIST DIRS a$,c
FOR n = 0 TO c-1
PRINT ,a$(n)
NEXT n
PRINT "Files:"
DIR "/" LIST FILES a$,c